Go to the documentation of this file.
28 #include "../../SDL_internal.h"
30 #if SDL_VIDEO_VULKAN && SDL_VIDEO_DRIVER_VIVANTE
40 int VIVANTE_Vulkan_LoadLibrary(
_THIS,
const char *
path)
56 path =
"libvulkan-fb.so";
61 path =
"libvulkan.so";
82 extensions = SDL_Vulkan_CreateInstanceExtensionsList(
88 for(
i = 0;
i < extensionCount;
i++)
96 if(!hasSurfaceExtension)
102 else if(!hasDisplayExtension)
116 void VIVANTE_Vulkan_UnloadLibrary(
_THIS)
130 static const char *
const extensionsForVivante[] = {
138 return SDL_Vulkan_GetInstanceExtensions_Helper(
140 extensionsForVivante);
PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr
PFN_vkVoidFunction(VKAPI_PTR * PFN_vkGetInstanceProcAddr)(VkInstance instance, const char *pName)
GLuint GLuint GLsizei count
#define VK_KHR_DISPLAY_EXTENSION_NAME
struct SDL_VideoDevice::@256 vulkan_config
VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vkGetInstanceProcAddr(VkInstance instance, const char *pName)
GLsizei const GLchar *const * path
The type used to identify a window.
#define VK_KHR_SURFACE_EXTENSION_NAME
static SDL_VideoDevice * _this
EGLSurface EGLNativeWindowType * window
VkResult(VKAPI_PTR * PFN_vkEnumerateInstanceExtensionProperties)(const char *pLayerName, uint32_t *pPropertyCount, VkExtensionProperties *pProperties)
PFN_vkEnumerateInstanceExtensionProperties vkEnumerateInstanceExtensionProperties
#define SDL_arraysize(array)
void * SDL_LoadFunction(void *handle, const char *name)
return Display return Display Bool Bool int int int return Display XEvent Bool(*) XPointer return Display return Display Drawable _Xconst char unsigned int unsigned int return Display Pixmap Pixmap XColor XColor unsigned int unsigned int return Display _Xconst char char int char return Display Visual unsigned int int int char unsigned int unsigned int in i)