Go to the documentation of this file.
44 #define CURRENT_LOADER_ICD_INTERFACE_VERSION 5
45 #define MIN_SUPPORTED_LOADER_ICD_INTERFACE_VERSION 0
46 #define MIN_PHYS_DEV_EXTENSION_ICD_INTERFACE_VERSION 4
51 #ifndef PFN_GetPhysicalDeviceProcAddr
61 #define ICD_LOADER_MAGIC 0x01CDC0DE
98 #ifdef VK_USE_PLATFORM_MIR_KHR
101 MirConnection *connection;
102 MirSurface *mirSurface;
104 #endif // VK_USE_PLATFORM_MIR_KHR
106 #ifdef VK_USE_PLATFORM_WAYLAND_KHR
109 struct wl_display *display;
111 } VkIcdSurfaceWayland;
112 #endif // VK_USE_PLATFORM_WAYLAND_KHR
114 #ifdef VK_USE_PLATFORM_WIN32_KHR
120 #endif // VK_USE_PLATFORM_WIN32_KHR
122 #ifdef VK_USE_PLATFORM_XCB_KHR
125 xcb_connection_t *connection;
128 #endif // VK_USE_PLATFORM_XCB_KHR
130 #ifdef VK_USE_PLATFORM_XLIB_KHR
136 #endif // VK_USE_PLATFORM_XLIB_KHR
138 #ifdef VK_USE_PLATFORM_ANDROID_KHR
141 struct ANativeWindow *
window;
142 } VkIcdSurfaceAndroid;
143 #endif // VK_USE_PLATFORM_ANDROID_KHR
145 #ifdef VK_USE_PLATFORM_MACOS_MVK
150 #endif // VK_USE_PLATFORM_MACOS_MVK
152 #ifdef VK_USE_PLATFORM_IOS_MVK
157 #endif // VK_USE_PLATFORM_IOS_MVK
PFN_vkVoidFunction(VKAPI_PTR * PFN_GetPhysicalDeviceProcAddr)(VkInstance instance, const char *pName)
void(VKAPI_PTR * PFN_vkVoidFunction)(void)
return Display return Display Bool Bool int int int return Display XEvent Bool(*) XPointer return Display return Display dpy)
VkIcdWsiPlatform platform
VkResult(VKAPI_PTR * PFN_vkNegotiateLoaderICDInterfaceVersion)(uint32_t *pVersion)
static bool valid_loader_magic_value(void *pNewObject)
VkDisplayPlaneAlphaFlagBitsKHR
EGLSurface EGLNativeWindowType * window
static void set_loader_magic_value(void *pNewObject)
VkSurfaceTransformFlagBitsKHR
VkDisplayPlaneAlphaFlagBitsKHR alphaMode
VkSurfaceTransformFlagBitsKHR transform
VkDisplayModeKHR displayMode