1 #ifndef VULKAN_ANDROID_H_
2 #define VULKAN_ANDROID_H_ 1
22 #define VK_KHR_android_surface 1
24 #define VK_KHR_ANDROID_SURFACE_SPEC_VERSION 6
25 #define VK_KHR_ANDROID_SURFACE_EXTENSION_NAME "VK_KHR_android_surface"
30 VkAndroidSurfaceCreateFlagsKHR
flags;
36 #ifndef VK_NO_PROTOTYPES
41 VkSurfaceKHR* pSurface);
45 #define VK_ANDROID_external_memory_android_hardware_buffer 1
46 struct AHardwareBuffer;
47 #define VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_SPEC_VERSION 5
48 #define VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_EXTENSION_NAME "VK_ANDROID_external_memory_android_hardware_buffer"
109 #ifndef VK_NO_PROTOTYPES
112 const struct AHardwareBuffer* buffer,
118 struct AHardwareBuffer** pBuffer);
struct VkAndroidHardwareBufferFormatPropertiesANDROID VkAndroidHardwareBufferFormatPropertiesANDROID
VkFlags VkFormatFeatureFlags
struct VkExternalFormatANDROID VkExternalFormatANDROID
struct VkAndroidHardwareBufferUsageANDROID VkAndroidHardwareBufferUsageANDROID
VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryAndroidHardwareBufferANDROID(VkDevice device, const VkMemoryGetAndroidHardwareBufferInfoANDROID *pInfo, struct AHardwareBuffer **pBuffer)
struct VkAndroidHardwareBufferFormatProperties2ANDROID VkAndroidHardwareBufferFormatProperties2ANDROID
struct AHardwareBuffer * buffer
VkFlags64 VkFormatFeatureFlags2
VKAPI_ATTR VkResult VKAPI_CALL vkGetAndroidHardwareBufferPropertiesANDROID(VkDevice device, const struct AHardwareBuffer *buffer, VkAndroidHardwareBufferPropertiesANDROID *pProperties)
VKAPI_ATTR VkResult VKAPI_CALL vkCreateAndroidSurfaceKHR(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
VkDeviceSize allocationSize
struct VkAndroidHardwareBufferPropertiesANDROID VkAndroidHardwareBufferPropertiesANDROID
struct VkMemoryGetAndroidHardwareBufferInfoANDROID VkMemoryGetAndroidHardwareBufferInfoANDROID
struct VkImportAndroidHardwareBufferInfoANDROID VkImportAndroidHardwareBufferInfoANDROID
VkFlags VkAndroidSurfaceCreateFlagsKHR
VkResult(VKAPI_PTR * PFN_vkCreateAndroidSurfaceKHR)(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
VkResult(VKAPI_PTR * PFN_vkGetMemoryAndroidHardwareBufferANDROID)(VkDevice device, const VkMemoryGetAndroidHardwareBufferInfoANDROID *pInfo, struct AHardwareBuffer **pBuffer)
uint64_t androidHardwareBufferUsage
struct ANativeWindow * window
VkSamplerYcbcrModelConversion
VkAndroidSurfaceCreateFlagsKHR flags
struct VkAndroidSurfaceCreateInfoKHR VkAndroidSurfaceCreateInfoKHR
VkResult(VKAPI_PTR * PFN_vkGetAndroidHardwareBufferPropertiesANDROID)(VkDevice device, const struct AHardwareBuffer *buffer, VkAndroidHardwareBufferPropertiesANDROID *pProperties)