HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vk_icd.h File Reference
#include "vulkan.h"
#include <stdbool.h>
+ Include dependency graph for vk_icd.h:

Go to the source code of this file.

Classes

union  VK_LOADER_DATA
 
struct  VkIcdSurfaceBase
 
struct  VkIcdSurfaceDisplay
 
struct  VkIcdSurfaceHeadless
 

Macros

#define CURRENT_LOADER_ICD_INTERFACE_VERSION   7
 
#define MIN_SUPPORTED_LOADER_ICD_INTERFACE_VERSION   0
 
#define MIN_PHYS_DEV_EXTENSION_ICD_INTERFACE_VERSION   4
 
#define ICD_LOADER_MAGIC   0x01CDC0DE
 

Typedefs

typedef VkResult(VKAPI_PTRPFN_vkNegotiateLoaderICDInterfaceVersion )(uint32_t *pVersion)
 
typedef PFN_vkVoidFunction(VKAPI_PTRPFN_GetPhysicalDeviceProcAddr )(VkInstance instance, const char *pName)
 
typedef VkResult(VKAPI_PTRPFN_vk_icdNegotiateLoaderICDInterfaceVersion )(uint32_t *pVersion)
 
typedef PFN_vkVoidFunction(VKAPI_PTRPFN_vk_icdGetInstanceProcAddr )(VkInstance instance, const char *pName)
 
typedef PFN_vkVoidFunction(VKAPI_PTRPFN_vk_icdGetPhysicalDeviceProcAddr )(VkInstance instance, const char *pName)
 

Enumerations

enum  VkIcdWsiPlatform {
  VK_ICD_WSI_PLATFORM_MIR, VK_ICD_WSI_PLATFORM_WAYLAND, VK_ICD_WSI_PLATFORM_WIN32, VK_ICD_WSI_PLATFORM_XCB,
  VK_ICD_WSI_PLATFORM_XLIB, VK_ICD_WSI_PLATFORM_ANDROID, VK_ICD_WSI_PLATFORM_MACOS, VK_ICD_WSI_PLATFORM_IOS,
  VK_ICD_WSI_PLATFORM_DISPLAY, VK_ICD_WSI_PLATFORM_HEADLESS, VK_ICD_WSI_PLATFORM_METAL, VK_ICD_WSI_PLATFORM_DIRECTFB,
  VK_ICD_WSI_PLATFORM_VI, VK_ICD_WSI_PLATFORM_GGP, VK_ICD_WSI_PLATFORM_SCREEN, VK_ICD_WSI_PLATFORM_FUCHSIA
}
 

Functions

VKAPI_ATTR VkResult VKAPI_CALL vk_icdNegotiateLoaderICDInterfaceVersion (uint32_t *pVersion)
 
VKAPI_ATTR PFN_vkVoidFunction
VKAPI_CALL 
vk_icdGetInstanceProcAddr (VkInstance instance, const char *pName)
 
VKAPI_ATTR PFN_vkVoidFunction
VKAPI_CALL 
vk_icdGetPhysicalDeviceProcAddr (VkInstance isntance, const char *pName)
 

Macro Definition Documentation

#define CURRENT_LOADER_ICD_INTERFACE_VERSION   7

Definition at line 55 of file vk_icd.h.

#define ICD_LOADER_MAGIC   0x01CDC0DE

Definition at line 99 of file vk_icd.h.

#define MIN_PHYS_DEV_EXTENSION_ICD_INTERFACE_VERSION   4

Definition at line 57 of file vk_icd.h.

#define MIN_SUPPORTED_LOADER_ICD_INTERFACE_VERSION   0

Definition at line 56 of file vk_icd.h.

Typedef Documentation

typedef PFN_vkVoidFunction(VKAPI_PTR * PFN_GetPhysicalDeviceProcAddr)(VkInstance instance, const char *pName)

Definition at line 64 of file vk_icd.h.

typedef PFN_vkVoidFunction(VKAPI_PTR * PFN_vk_icdGetInstanceProcAddr)(VkInstance instance, const char *pName)

Definition at line 69 of file vk_icd.h.

typedef PFN_vkVoidFunction(VKAPI_PTR * PFN_vk_icdGetPhysicalDeviceProcAddr)(VkInstance instance, const char *pName)

Definition at line 70 of file vk_icd.h.

typedef VkResult(VKAPI_PTR * PFN_vk_icdNegotiateLoaderICDInterfaceVersion)(uint32_t *pVersion)

Definition at line 68 of file vk_icd.h.

typedef VkResult(VKAPI_PTR * PFN_vkNegotiateLoaderICDInterfaceVersion)(uint32_t *pVersion)

Definition at line 60 of file vk_icd.h.

Enumeration Type Documentation

Enumerator
VK_ICD_WSI_PLATFORM_MIR 
VK_ICD_WSI_PLATFORM_WAYLAND 
VK_ICD_WSI_PLATFORM_WIN32 
VK_ICD_WSI_PLATFORM_XCB 
VK_ICD_WSI_PLATFORM_XLIB 
VK_ICD_WSI_PLATFORM_ANDROID 
VK_ICD_WSI_PLATFORM_MACOS 
VK_ICD_WSI_PLATFORM_IOS 
VK_ICD_WSI_PLATFORM_DISPLAY 
VK_ICD_WSI_PLATFORM_HEADLESS 
VK_ICD_WSI_PLATFORM_METAL 
VK_ICD_WSI_PLATFORM_DIRECTFB 
VK_ICD_WSI_PLATFORM_VI 
VK_ICD_WSI_PLATFORM_GGP 
VK_ICD_WSI_PLATFORM_SCREEN 
VK_ICD_WSI_PLATFORM_FUCHSIA 

Definition at line 120 of file vk_icd.h.

Function Documentation

VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vk_icdGetInstanceProcAddr ( VkInstance  instance,
const char *  pName 
)
VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vk_icdGetPhysicalDeviceProcAddr ( VkInstance  isntance,
const char *  pName 
)
VKAPI_ATTR VkResult VKAPI_CALL vk_icdNegotiateLoaderICDInterfaceVersion ( uint32_t *  pVersion)