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;
106 #ifdef VK_USE_PLATFORM_WAYLAND_KHR 109 struct wl_display *display;
110 struct wl_surface *surface;
111 } VkIcdSurfaceWayland;
114 #ifdef VK_USE_PLATFORM_WIN32_KHR 122 #ifdef VK_USE_PLATFORM_XCB_KHR 125 xcb_connection_t *connection;
130 #ifdef VK_USE_PLATFORM_XLIB_KHR 138 #ifdef VK_USE_PLATFORM_ANDROID_KHR 142 } VkIcdSurfaceAndroid;
145 #ifdef VK_USE_PLATFORM_MACOS_MVK 152 #ifdef VK_USE_PLATFORM_IOS_MVK uintptr_t loaderMagic
Definition: vk_icd.h:64
_W64 unsigned int uintptr_t
Definition: stdint.h:165
VkSurfaceTransformFlagBitsKHR
Definition: vulkan_core.h:4577
#define ICD_LOADER_MAGIC
Definition: vk_icd.h:61
uint32_t planeIndex
Definition: vk_icd.h:162
#define VKAPI_PTR
Definition: vk_platform.h:68
static bool valid_loader_magic_value(void *pNewObject)
Definition: vk_icd.h:73
PFN_vkVoidFunction(VKAPI_PTR * PFN_GetPhysicalDeviceProcAddr)(VkInstance instance, const char *pName)
Definition: vk_icd.h:52
VkSurfaceTransformFlagBitsKHR transform
Definition: vk_icd.h:164
VkIcdWsiPlatform
Definition: vk_icd.h:82
VkResult(VKAPI_PTR * PFN_vkNegotiateLoaderICDInterfaceVersion)(uint32_t *pVersion)
Definition: vk_icd.h:47
static void set_loader_magic_value(void *pNewObject)
Definition: vk_icd.h:68
VkIcdWsiPlatform platform
Definition: vk_icd.h:95
VkDisplayPlaneAlphaFlagBitsKHR alphaMode
Definition: vk_icd.h:166
void(VKAPI_PTR * PFN_vkVoidFunction)(void)
Definition: vulkan_core.h:1905
VkResult
Definition: vulkan_core.h:124
Definition: vulkan_core.h:2240
VkDisplayPlaneAlphaFlagBitsKHR
Definition: vulkan_core.h:4824
float globalAlpha
Definition: vk_icd.h:165
VkExtent2D imageExtent
Definition: vk_icd.h:167
VkIcdSurfaceBase base
Definition: vk_icd.h:160
uint32_t planeStackIndex
Definition: vk_icd.h:163
VkDisplayModeKHR displayMode
Definition: vk_icd.h:161
void * loaderData
Definition: vk_icd.h:65
unsigned int uint32_t
Definition: stdint.h:126