RetroArch
Classes | Macros | Typedefs | Enumerations | Functions
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
 

Macros

#define CURRENT_LOADER_ICD_INTERFACE_VERSION   5
 
#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)
 

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
}
 

Functions

static void set_loader_magic_value (void *pNewObject)
 
static bool valid_loader_magic_value (void *pNewObject)
 

Macro Definition Documentation

◆ CURRENT_LOADER_ICD_INTERFACE_VERSION

#define CURRENT_LOADER_ICD_INTERFACE_VERSION   5

◆ ICD_LOADER_MAGIC

#define ICD_LOADER_MAGIC   0x01CDC0DE

◆ MIN_PHYS_DEV_EXTENSION_ICD_INTERFACE_VERSION

#define MIN_PHYS_DEV_EXTENSION_ICD_INTERFACE_VERSION   4

◆ MIN_SUPPORTED_LOADER_ICD_INTERFACE_VERSION

#define MIN_SUPPORTED_LOADER_ICD_INTERFACE_VERSION   0

Typedef Documentation

◆ PFN_GetPhysicalDeviceProcAddr

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

◆ PFN_vkNegotiateLoaderICDInterfaceVersion

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

Enumeration Type Documentation

◆ VkIcdWsiPlatform

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 

Function Documentation

◆ set_loader_magic_value()

static void set_loader_magic_value ( void pNewObject)
inlinestatic

◆ valid_loader_magic_value()

static bool valid_loader_magic_value ( void pNewObject)
inlinestatic