HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vulkan_android.h File Reference

Go to the source code of this file.

Classes

struct  VkAndroidSurfaceCreateInfoKHR
 
struct  VkAndroidHardwareBufferUsageANDROID
 
struct  VkAndroidHardwareBufferPropertiesANDROID
 
struct  VkAndroidHardwareBufferFormatPropertiesANDROID
 
struct  VkImportAndroidHardwareBufferInfoANDROID
 
struct  VkMemoryGetAndroidHardwareBufferInfoANDROID
 
struct  VkExternalFormatANDROID
 
struct  VkAndroidHardwareBufferFormatProperties2ANDROID
 

Macros

#define VK_KHR_android_surface   1
 
#define VK_KHR_ANDROID_SURFACE_SPEC_VERSION   6
 
#define VK_KHR_ANDROID_SURFACE_EXTENSION_NAME   "VK_KHR_android_surface"
 
#define VK_ANDROID_external_memory_android_hardware_buffer   1
 
#define VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_SPEC_VERSION   5
 
#define VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_EXTENSION_NAME   "VK_ANDROID_external_memory_android_hardware_buffer"
 

Typedefs

typedef VkFlags VkAndroidSurfaceCreateFlagsKHR
 
typedef struct
VkAndroidSurfaceCreateInfoKHR 
VkAndroidSurfaceCreateInfoKHR
 
typedef VkResult(VKAPI_PTRPFN_vkCreateAndroidSurfaceKHR )(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
 
typedef struct
VkAndroidHardwareBufferUsageANDROID 
VkAndroidHardwareBufferUsageANDROID
 
typedef struct
VkAndroidHardwareBufferPropertiesANDROID 
VkAndroidHardwareBufferPropertiesANDROID
 
typedef struct
VkAndroidHardwareBufferFormatPropertiesANDROID 
VkAndroidHardwareBufferFormatPropertiesANDROID
 
typedef struct
VkImportAndroidHardwareBufferInfoANDROID 
VkImportAndroidHardwareBufferInfoANDROID
 
typedef struct
VkMemoryGetAndroidHardwareBufferInfoANDROID 
VkMemoryGetAndroidHardwareBufferInfoANDROID
 
typedef struct
VkExternalFormatANDROID 
VkExternalFormatANDROID
 
typedef struct
VkAndroidHardwareBufferFormatProperties2ANDROID 
VkAndroidHardwareBufferFormatProperties2ANDROID
 
typedef VkResult(VKAPI_PTRPFN_vkGetAndroidHardwareBufferPropertiesANDROID )(VkDevice device, const struct AHardwareBuffer *buffer, VkAndroidHardwareBufferPropertiesANDROID *pProperties)
 
typedef VkResult(VKAPI_PTRPFN_vkGetMemoryAndroidHardwareBufferANDROID )(VkDevice device, const VkMemoryGetAndroidHardwareBufferInfoANDROID *pInfo, struct AHardwareBuffer **pBuffer)
 

Functions

VKAPI_ATTR VkResult VKAPI_CALL vkCreateAndroidSurfaceKHR (VkInstance instance, const VkAndroidSurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
 
VKAPI_ATTR VkResult VKAPI_CALL vkGetAndroidHardwareBufferPropertiesANDROID (VkDevice device, const struct AHardwareBuffer *buffer, VkAndroidHardwareBufferPropertiesANDROID *pProperties)
 
VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryAndroidHardwareBufferANDROID (VkDevice device, const VkMemoryGetAndroidHardwareBufferInfoANDROID *pInfo, struct AHardwareBuffer **pBuffer)
 

Macro Definition Documentation

#define VK_ANDROID_external_memory_android_hardware_buffer   1

Definition at line 45 of file vulkan_android.h.

#define VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_EXTENSION_NAME   "VK_ANDROID_external_memory_android_hardware_buffer"

Definition at line 48 of file vulkan_android.h.

#define VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_SPEC_VERSION   5

Definition at line 47 of file vulkan_android.h.

#define VK_KHR_android_surface   1

Definition at line 22 of file vulkan_android.h.

#define VK_KHR_ANDROID_SURFACE_EXTENSION_NAME   "VK_KHR_android_surface"

Definition at line 25 of file vulkan_android.h.

#define VK_KHR_ANDROID_SURFACE_SPEC_VERSION   6

Definition at line 24 of file vulkan_android.h.

Typedef Documentation

typedef VkResult(VKAPI_PTR * PFN_vkCreateAndroidSurfaceKHR)(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)

Definition at line 34 of file vulkan_android.h.

typedef VkResult(VKAPI_PTR * PFN_vkGetAndroidHardwareBufferPropertiesANDROID)(VkDevice device, const struct AHardwareBuffer *buffer, VkAndroidHardwareBufferPropertiesANDROID *pProperties)

Definition at line 106 of file vulkan_android.h.

typedef VkResult(VKAPI_PTR * PFN_vkGetMemoryAndroidHardwareBufferANDROID)(VkDevice device, const VkMemoryGetAndroidHardwareBufferInfoANDROID *pInfo, struct AHardwareBuffer **pBuffer)

Definition at line 107 of file vulkan_android.h.

Definition at line 26 of file vulkan_android.h.

Function Documentation

VKAPI_ATTR VkResult VKAPI_CALL vkCreateAndroidSurfaceKHR ( VkInstance  instance,
const VkAndroidSurfaceCreateInfoKHR pCreateInfo,
const VkAllocationCallbacks pAllocator,
VkSurfaceKHR *  pSurface 
)
VKAPI_ATTR VkResult VKAPI_CALL vkGetAndroidHardwareBufferPropertiesANDROID ( VkDevice  device,
const struct AHardwareBuffer *  buffer,
VkAndroidHardwareBufferPropertiesANDROID pProperties 
)
VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryAndroidHardwareBufferANDROID ( VkDevice  device,
const VkMemoryGetAndroidHardwareBufferInfoANDROID pInfo,
struct AHardwareBuffer **  pBuffer 
)