RetroArch
Classes | Macros | Typedefs | Functions
vulkan_win32.h File Reference

Go to the source code of this file.

Classes

struct  VkWin32SurfaceCreateInfoKHR
 
struct  VkImportMemoryWin32HandleInfoKHR
 
struct  VkExportMemoryWin32HandleInfoKHR
 
struct  VkMemoryWin32HandlePropertiesKHR
 
struct  VkMemoryGetWin32HandleInfoKHR
 
struct  VkWin32KeyedMutexAcquireReleaseInfoKHR
 
struct  VkImportSemaphoreWin32HandleInfoKHR
 
struct  VkExportSemaphoreWin32HandleInfoKHR
 
struct  VkD3D12FenceSubmitInfoKHR
 
struct  VkSemaphoreGetWin32HandleInfoKHR
 
struct  VkImportFenceWin32HandleInfoKHR
 
struct  VkExportFenceWin32HandleInfoKHR
 
struct  VkFenceGetWin32HandleInfoKHR
 
struct  VkImportMemoryWin32HandleInfoNV
 
struct  VkExportMemoryWin32HandleInfoNV
 
struct  VkWin32KeyedMutexAcquireReleaseInfoNV
 

Macros

#define VK_KHR_win32_surface   1
 
#define VK_KHR_WIN32_SURFACE_SPEC_VERSION   6
 
#define VK_KHR_WIN32_SURFACE_EXTENSION_NAME   "VK_KHR_win32_surface"
 
#define VK_KHR_external_memory_win32   1
 
#define VK_KHR_EXTERNAL_MEMORY_WIN32_SPEC_VERSION   1
 
#define VK_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME   "VK_KHR_external_memory_win32"
 
#define VK_KHR_win32_keyed_mutex   1
 
#define VK_KHR_WIN32_KEYED_MUTEX_SPEC_VERSION   1
 
#define VK_KHR_WIN32_KEYED_MUTEX_EXTENSION_NAME   "VK_KHR_win32_keyed_mutex"
 
#define VK_KHR_external_semaphore_win32   1
 
#define VK_KHR_EXTERNAL_SEMAPHORE_WIN32_SPEC_VERSION   1
 
#define VK_KHR_EXTERNAL_SEMAPHORE_WIN32_EXTENSION_NAME   "VK_KHR_external_semaphore_win32"
 
#define VK_KHR_external_fence_win32   1
 
#define VK_KHR_EXTERNAL_FENCE_WIN32_SPEC_VERSION   1
 
#define VK_KHR_EXTERNAL_FENCE_WIN32_EXTENSION_NAME   "VK_KHR_external_fence_win32"
 
#define VK_NV_external_memory_win32   1
 
#define VK_NV_EXTERNAL_MEMORY_WIN32_SPEC_VERSION   1
 
#define VK_NV_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME   "VK_NV_external_memory_win32"
 
#define VK_NV_win32_keyed_mutex   1
 
#define VK_NV_WIN32_KEYED_MUTEX_SPEC_VERSION   1
 
#define VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME   "VK_NV_win32_keyed_mutex"
 

Typedefs

typedef VkFlags VkWin32SurfaceCreateFlagsKHR
 
typedef struct VkWin32SurfaceCreateInfoKHR VkWin32SurfaceCreateInfoKHR
 
typedef VkResult(VKAPI_PTRPFN_vkCreateWin32SurfaceKHR) (VkInstance instance, const VkWin32SurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
 
typedef VkBool32(VKAPI_PTRPFN_vkGetPhysicalDeviceWin32PresentationSupportKHR) (VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex)
 
typedef struct VkImportMemoryWin32HandleInfoKHR VkImportMemoryWin32HandleInfoKHR
 
typedef struct VkExportMemoryWin32HandleInfoKHR VkExportMemoryWin32HandleInfoKHR
 
typedef struct VkMemoryWin32HandlePropertiesKHR VkMemoryWin32HandlePropertiesKHR
 
typedef struct VkMemoryGetWin32HandleInfoKHR VkMemoryGetWin32HandleInfoKHR
 
typedef VkResult(VKAPI_PTRPFN_vkGetMemoryWin32HandleKHR) (VkDevice device, const VkMemoryGetWin32HandleInfoKHR *pGetWin32HandleInfo, HANDLE *pHandle)
 
typedef VkResult(VKAPI_PTRPFN_vkGetMemoryWin32HandlePropertiesKHR) (VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, VkMemoryWin32HandlePropertiesKHR *pMemoryWin32HandleProperties)
 
typedef struct VkWin32KeyedMutexAcquireReleaseInfoKHR VkWin32KeyedMutexAcquireReleaseInfoKHR
 
typedef struct VkImportSemaphoreWin32HandleInfoKHR VkImportSemaphoreWin32HandleInfoKHR
 
typedef struct VkExportSemaphoreWin32HandleInfoKHR VkExportSemaphoreWin32HandleInfoKHR
 
typedef struct VkD3D12FenceSubmitInfoKHR VkD3D12FenceSubmitInfoKHR
 
typedef struct VkSemaphoreGetWin32HandleInfoKHR VkSemaphoreGetWin32HandleInfoKHR
 
typedef VkResult(VKAPI_PTRPFN_vkImportSemaphoreWin32HandleKHR) (VkDevice device, const VkImportSemaphoreWin32HandleInfoKHR *pImportSemaphoreWin32HandleInfo)
 
typedef VkResult(VKAPI_PTRPFN_vkGetSemaphoreWin32HandleKHR) (VkDevice device, const VkSemaphoreGetWin32HandleInfoKHR *pGetWin32HandleInfo, HANDLE *pHandle)
 
typedef struct VkImportFenceWin32HandleInfoKHR VkImportFenceWin32HandleInfoKHR
 
typedef struct VkExportFenceWin32HandleInfoKHR VkExportFenceWin32HandleInfoKHR
 
typedef struct VkFenceGetWin32HandleInfoKHR VkFenceGetWin32HandleInfoKHR
 
typedef VkResult(VKAPI_PTRPFN_vkImportFenceWin32HandleKHR) (VkDevice device, const VkImportFenceWin32HandleInfoKHR *pImportFenceWin32HandleInfo)
 
typedef VkResult(VKAPI_PTRPFN_vkGetFenceWin32HandleKHR) (VkDevice device, const VkFenceGetWin32HandleInfoKHR *pGetWin32HandleInfo, HANDLE *pHandle)
 
typedef struct VkImportMemoryWin32HandleInfoNV VkImportMemoryWin32HandleInfoNV
 
typedef struct VkExportMemoryWin32HandleInfoNV VkExportMemoryWin32HandleInfoNV
 
typedef VkResult(VKAPI_PTRPFN_vkGetMemoryWin32HandleNV) (VkDevice device, VkDeviceMemory memory, VkExternalMemoryHandleTypeFlagsNV handleType, HANDLE *pHandle)
 
typedef struct VkWin32KeyedMutexAcquireReleaseInfoNV VkWin32KeyedMutexAcquireReleaseInfoNV
 

Functions

VKAPI_ATTR VkResult VKAPI_CALL vkCreateWin32SurfaceKHR (VkInstance instance, const VkWin32SurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
 
VKAPI_ATTR VkBool32 VKAPI_CALL vkGetPhysicalDeviceWin32PresentationSupportKHR (VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex)
 
VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryWin32HandleKHR (VkDevice device, const VkMemoryGetWin32HandleInfoKHR *pGetWin32HandleInfo, HANDLE *pHandle)
 
VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryWin32HandlePropertiesKHR (VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, VkMemoryWin32HandlePropertiesKHR *pMemoryWin32HandleProperties)
 
VKAPI_ATTR VkResult VKAPI_CALL vkImportSemaphoreWin32HandleKHR (VkDevice device, const VkImportSemaphoreWin32HandleInfoKHR *pImportSemaphoreWin32HandleInfo)
 
VKAPI_ATTR VkResult VKAPI_CALL vkGetSemaphoreWin32HandleKHR (VkDevice device, const VkSemaphoreGetWin32HandleInfoKHR *pGetWin32HandleInfo, HANDLE *pHandle)
 
VKAPI_ATTR VkResult VKAPI_CALL vkImportFenceWin32HandleKHR (VkDevice device, const VkImportFenceWin32HandleInfoKHR *pImportFenceWin32HandleInfo)
 
VKAPI_ATTR VkResult VKAPI_CALL vkGetFenceWin32HandleKHR (VkDevice device, const VkFenceGetWin32HandleInfoKHR *pGetWin32HandleInfo, HANDLE *pHandle)
 
VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryWin32HandleNV (VkDevice device, VkDeviceMemory memory, VkExternalMemoryHandleTypeFlagsNV handleType, HANDLE *pHandle)
 

Macro Definition Documentation

◆ VK_KHR_external_fence_win32

#define VK_KHR_external_fence_win32   1

◆ VK_KHR_EXTERNAL_FENCE_WIN32_EXTENSION_NAME

#define VK_KHR_EXTERNAL_FENCE_WIN32_EXTENSION_NAME   "VK_KHR_external_fence_win32"

◆ VK_KHR_EXTERNAL_FENCE_WIN32_SPEC_VERSION

#define VK_KHR_EXTERNAL_FENCE_WIN32_SPEC_VERSION   1

◆ VK_KHR_external_memory_win32

#define VK_KHR_external_memory_win32   1

◆ VK_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME

#define VK_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME   "VK_KHR_external_memory_win32"

◆ VK_KHR_EXTERNAL_MEMORY_WIN32_SPEC_VERSION

#define VK_KHR_EXTERNAL_MEMORY_WIN32_SPEC_VERSION   1

◆ VK_KHR_external_semaphore_win32

#define VK_KHR_external_semaphore_win32   1

◆ VK_KHR_EXTERNAL_SEMAPHORE_WIN32_EXTENSION_NAME

#define VK_KHR_EXTERNAL_SEMAPHORE_WIN32_EXTENSION_NAME   "VK_KHR_external_semaphore_win32"

◆ VK_KHR_EXTERNAL_SEMAPHORE_WIN32_SPEC_VERSION

#define VK_KHR_EXTERNAL_SEMAPHORE_WIN32_SPEC_VERSION   1

◆ VK_KHR_win32_keyed_mutex

#define VK_KHR_win32_keyed_mutex   1

◆ VK_KHR_WIN32_KEYED_MUTEX_EXTENSION_NAME

#define VK_KHR_WIN32_KEYED_MUTEX_EXTENSION_NAME   "VK_KHR_win32_keyed_mutex"

◆ VK_KHR_WIN32_KEYED_MUTEX_SPEC_VERSION

#define VK_KHR_WIN32_KEYED_MUTEX_SPEC_VERSION   1

◆ VK_KHR_win32_surface

#define VK_KHR_win32_surface   1

◆ VK_KHR_WIN32_SURFACE_EXTENSION_NAME

#define VK_KHR_WIN32_SURFACE_EXTENSION_NAME   "VK_KHR_win32_surface"

◆ VK_KHR_WIN32_SURFACE_SPEC_VERSION

#define VK_KHR_WIN32_SURFACE_SPEC_VERSION   6

◆ VK_NV_external_memory_win32

#define VK_NV_external_memory_win32   1

◆ VK_NV_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME

#define VK_NV_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME   "VK_NV_external_memory_win32"

◆ VK_NV_EXTERNAL_MEMORY_WIN32_SPEC_VERSION

#define VK_NV_EXTERNAL_MEMORY_WIN32_SPEC_VERSION   1

◆ VK_NV_win32_keyed_mutex

#define VK_NV_win32_keyed_mutex   1

◆ VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME

#define VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME   "VK_NV_win32_keyed_mutex"

◆ VK_NV_WIN32_KEYED_MUTEX_SPEC_VERSION

#define VK_NV_WIN32_KEYED_MUTEX_SPEC_VERSION   1

Typedef Documentation

◆ PFN_vkCreateWin32SurfaceKHR

typedef VkResult(VKAPI_PTR * PFN_vkCreateWin32SurfaceKHR) (VkInstance instance, const VkWin32SurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)

◆ PFN_vkGetFenceWin32HandleKHR

typedef VkResult(VKAPI_PTR * PFN_vkGetFenceWin32HandleKHR) (VkDevice device, const VkFenceGetWin32HandleInfoKHR *pGetWin32HandleInfo, HANDLE *pHandle)

◆ PFN_vkGetMemoryWin32HandleKHR

typedef VkResult(VKAPI_PTR * PFN_vkGetMemoryWin32HandleKHR) (VkDevice device, const VkMemoryGetWin32HandleInfoKHR *pGetWin32HandleInfo, HANDLE *pHandle)

◆ PFN_vkGetMemoryWin32HandleNV

typedef VkResult(VKAPI_PTR * PFN_vkGetMemoryWin32HandleNV) (VkDevice device, VkDeviceMemory memory, VkExternalMemoryHandleTypeFlagsNV handleType, HANDLE *pHandle)

◆ PFN_vkGetMemoryWin32HandlePropertiesKHR

typedef VkResult(VKAPI_PTR * PFN_vkGetMemoryWin32HandlePropertiesKHR) (VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, VkMemoryWin32HandlePropertiesKHR *pMemoryWin32HandleProperties)

◆ PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR

typedef VkBool32(VKAPI_PTR * PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR) (VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex)

◆ PFN_vkGetSemaphoreWin32HandleKHR

typedef VkResult(VKAPI_PTR * PFN_vkGetSemaphoreWin32HandleKHR) (VkDevice device, const VkSemaphoreGetWin32HandleInfoKHR *pGetWin32HandleInfo, HANDLE *pHandle)

◆ PFN_vkImportFenceWin32HandleKHR

typedef VkResult(VKAPI_PTR * PFN_vkImportFenceWin32HandleKHR) (VkDevice device, const VkImportFenceWin32HandleInfoKHR *pImportFenceWin32HandleInfo)

◆ PFN_vkImportSemaphoreWin32HandleKHR

typedef VkResult(VKAPI_PTR * PFN_vkImportSemaphoreWin32HandleKHR) (VkDevice device, const VkImportSemaphoreWin32HandleInfoKHR *pImportSemaphoreWin32HandleInfo)

◆ VkD3D12FenceSubmitInfoKHR

◆ VkExportFenceWin32HandleInfoKHR

◆ VkExportMemoryWin32HandleInfoKHR

◆ VkExportMemoryWin32HandleInfoNV

◆ VkExportSemaphoreWin32HandleInfoKHR

◆ VkFenceGetWin32HandleInfoKHR

◆ VkImportFenceWin32HandleInfoKHR

◆ VkImportMemoryWin32HandleInfoKHR

◆ VkImportMemoryWin32HandleInfoNV

◆ VkImportSemaphoreWin32HandleInfoKHR

◆ VkMemoryGetWin32HandleInfoKHR

◆ VkMemoryWin32HandlePropertiesKHR

◆ VkSemaphoreGetWin32HandleInfoKHR

◆ VkWin32KeyedMutexAcquireReleaseInfoKHR

◆ VkWin32KeyedMutexAcquireReleaseInfoNV

◆ VkWin32SurfaceCreateFlagsKHR

◆ VkWin32SurfaceCreateInfoKHR

Function Documentation

◆ vkCreateWin32SurfaceKHR()

VKAPI_ATTR VkResult VKAPI_CALL vkCreateWin32SurfaceKHR ( VkInstance  instance,
const VkWin32SurfaceCreateInfoKHR pCreateInfo,
const VkAllocationCallbacks pAllocator,
VkSurfaceKHR *  pSurface 
)
Here is the caller graph for this function:

◆ vkGetFenceWin32HandleKHR()

VKAPI_ATTR VkResult VKAPI_CALL vkGetFenceWin32HandleKHR ( VkDevice  device,
const VkFenceGetWin32HandleInfoKHR pGetWin32HandleInfo,
HANDLE *  pHandle 
)
Here is the caller graph for this function:

◆ vkGetMemoryWin32HandleKHR()

VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryWin32HandleKHR ( VkDevice  device,
const VkMemoryGetWin32HandleInfoKHR pGetWin32HandleInfo,
HANDLE *  pHandle 
)
Here is the caller graph for this function:

◆ vkGetMemoryWin32HandleNV()

VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryWin32HandleNV ( VkDevice  device,
VkDeviceMemory  memory,
VkExternalMemoryHandleTypeFlagsNV  handleType,
HANDLE *  pHandle 
)
Here is the caller graph for this function:

◆ vkGetMemoryWin32HandlePropertiesKHR()

VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryWin32HandlePropertiesKHR ( VkDevice  device,
VkExternalMemoryHandleTypeFlagBits  handleType,
HANDLE  handle,
VkMemoryWin32HandlePropertiesKHR pMemoryWin32HandleProperties 
)
Here is the caller graph for this function:

◆ vkGetPhysicalDeviceWin32PresentationSupportKHR()

VKAPI_ATTR VkBool32 VKAPI_CALL vkGetPhysicalDeviceWin32PresentationSupportKHR ( VkPhysicalDevice  physicalDevice,
uint32_t  queueFamilyIndex 
)
Here is the caller graph for this function:

◆ vkGetSemaphoreWin32HandleKHR()

VKAPI_ATTR VkResult VKAPI_CALL vkGetSemaphoreWin32HandleKHR ( VkDevice  device,
const VkSemaphoreGetWin32HandleInfoKHR pGetWin32HandleInfo,
HANDLE *  pHandle 
)
Here is the caller graph for this function:

◆ vkImportFenceWin32HandleKHR()

VKAPI_ATTR VkResult VKAPI_CALL vkImportFenceWin32HandleKHR ( VkDevice  device,
const VkImportFenceWin32HandleInfoKHR pImportFenceWin32HandleInfo 
)
Here is the caller graph for this function:

◆ vkImportSemaphoreWin32HandleKHR()

VKAPI_ATTR VkResult VKAPI_CALL vkImportSemaphoreWin32HandleKHR ( VkDevice  device,
const VkImportSemaphoreWin32HandleInfoKHR pImportSemaphoreWin32HandleInfo 
)
Here is the caller graph for this function: