1 #ifndef VULKAN_FUCHSIA_H_
2 #define VULKAN_FUCHSIA_H_ 1
22 #define VK_FUCHSIA_imagepipe_surface 1
23 #define VK_FUCHSIA_IMAGEPIPE_SURFACE_SPEC_VERSION 1
24 #define VK_FUCHSIA_IMAGEPIPE_SURFACE_EXTENSION_NAME "VK_FUCHSIA_imagepipe_surface"
29 VkImagePipeSurfaceCreateFlagsFUCHSIA
flags;
35 #ifndef VK_NO_PROTOTYPES
40 VkSurfaceKHR* pSurface);
44 #define VK_FUCHSIA_external_memory 1
45 #define VK_FUCHSIA_EXTERNAL_MEMORY_SPEC_VERSION 1
46 #define VK_FUCHSIA_EXTERNAL_MEMORY_EXTENSION_NAME "VK_FUCHSIA_external_memory"
70 #ifndef VK_NO_PROTOTYPES
74 zx_handle_t* pZirconHandle);
79 zx_handle_t zirconHandle,
84 #define VK_FUCHSIA_external_semaphore 1
85 #define VK_FUCHSIA_EXTERNAL_SEMAPHORE_SPEC_VERSION 1
86 #define VK_FUCHSIA_EXTERNAL_SEMAPHORE_EXTENSION_NAME "VK_FUCHSIA_external_semaphore"
106 #ifndef VK_NO_PROTOTYPES
114 zx_handle_t* pZirconHandle);
118 #define VK_FUCHSIA_buffer_collection 1
120 #define VK_FUCHSIA_BUFFER_COLLECTION_SPEC_VERSION 2
121 #define VK_FUCHSIA_BUFFER_COLLECTION_EXTENSION_NAME "VK_FUCHSIA_buffer_collection"
205 VkImageFormatConstraintsFlagsFUCHSIA
flags;
217 VkImageConstraintsInfoFlagsFUCHSIA
flags;
226 #ifndef VK_NO_PROTOTYPES
231 VkBufferCollectionFUCHSIA* pCollection);
235 VkBufferCollectionFUCHSIA collection,
240 VkBufferCollectionFUCHSIA collection,
245 VkBufferCollectionFUCHSIA collection,
250 VkBufferCollectionFUCHSIA collection,
struct VkSysmemColorSpaceFUCHSIA VkSysmemColorSpaceFUCHSIA
struct VkBufferCollectionConstraintsInfoFUCHSIA VkBufferCollectionConstraintsInfoFUCHSIA
uint32_t minBufferCountForSharedSlack
struct VkImportSemaphoreZirconHandleInfoFUCHSIA VkImportSemaphoreZirconHandleInfoFUCHSIA
uint32_t minBufferCountForCamping
VkFlags VkFormatFeatureFlags
VkComponentMapping samplerYcbcrConversionComponents
struct VkMemoryZirconHandlePropertiesFUCHSIA VkMemoryZirconHandlePropertiesFUCHSIA
struct VkImageFormatConstraintsInfoFUCHSIA VkImageFormatConstraintsInfoFUCHSIA
struct VkBufferCollectionBufferCreateInfoFUCHSIA VkBufferCollectionBufferCreateInfoFUCHSIA
struct VkBufferConstraintsInfoFUCHSIA VkBufferConstraintsInfoFUCHSIA
zx_handle_t collectionToken
void(VKAPI_PTR * PFN_vkDestroyBufferCollectionFUCHSIA)(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkAllocationCallbacks *pAllocator)
VKAPI_ATTR VkResult VKAPI_CALL vkGetBufferCollectionPropertiesFUCHSIA(VkDevice device, VkBufferCollectionFUCHSIA collection, VkBufferCollectionPropertiesFUCHSIA *pProperties)
VkBufferCollectionConstraintsInfoFUCHSIA bufferCollectionConstraints
VkBufferCollectionFUCHSIA collection
GLuint64 GLenum handleType
VkImageConstraintsInfoFlagBitsFUCHSIA
VkResult(VKAPI_PTR * PFN_vkCreateImagePipeSurfaceFUCHSIA)(VkInstance instance, const VkImagePipeSurfaceCreateInfoFUCHSIA *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryZirconHandleFUCHSIA(VkDevice device, const VkMemoryGetZirconHandleInfoFUCHSIA *pGetZirconHandleInfo, zx_handle_t *pZirconHandle)
VkExternalMemoryHandleTypeFlagBits handleType
struct VkBufferCollectionImageCreateInfoFUCHSIA VkBufferCollectionImageCreateInfoFUCHSIA
struct VkImportMemoryBufferCollectionFUCHSIA VkImportMemoryBufferCollectionFUCHSIA
uint64_t sysmemPixelFormat
VKAPI_ATTR VkResult VKAPI_CALL vkSetBufferCollectionBufferConstraintsFUCHSIA(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkBufferConstraintsInfoFUCHSIA *pBufferConstraintsInfo)
VkImageConstraintsInfoFlagsFUCHSIA flags
VkExternalSemaphoreHandleTypeFlagBits
VkBufferCreateInfo createInfo
VkExternalMemoryHandleTypeFlagBits
VKAPI_ATTR VkResult VKAPI_CALL vkImportSemaphoreZirconHandleFUCHSIA(VkDevice device, const VkImportSemaphoreZirconHandleInfoFUCHSIA *pImportSemaphoreZirconHandleInfo)
VkResult(VKAPI_PTR * PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA)(VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, zx_handle_t zirconHandle, VkMemoryZirconHandlePropertiesFUCHSIA *pMemoryZirconHandleProperties)
VKAPI_ATTR VkResult VKAPI_CALL vkCreateBufferCollectionFUCHSIA(VkDevice device, const VkBufferCollectionCreateInfoFUCHSIA *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkBufferCollectionFUCHSIA *pCollection)
VkExternalSemaphoreHandleTypeFlagBits handleType
uint32_t minBufferCountForDedicatedSlack
struct VkImagePipeSurfaceCreateInfoFUCHSIA VkImagePipeSurfaceCreateInfoFUCHSIA
VkBufferCollectionFUCHSIA collection
VkResult(VKAPI_PTR * PFN_vkSetBufferCollectionBufferConstraintsFUCHSIA)(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkBufferConstraintsInfoFUCHSIA *pBufferConstraintsInfo)
VkChromaLocation suggestedXChromaOffset
VkResult(VKAPI_PTR * PFN_vkGetSemaphoreZirconHandleFUCHSIA)(VkDevice device, const VkSemaphoreGetZirconHandleInfoFUCHSIA *pGetZirconHandleInfo, zx_handle_t *pZirconHandle)
VkFlags VkImageFormatConstraintsFlagsFUCHSIA
VkBufferCollectionConstraintsInfoFUCHSIA bufferCollectionConstraints
zx_handle_t imagePipeHandle
struct VkImageConstraintsInfoFUCHSIA VkImageConstraintsInfoFUCHSIA
VkResult(VKAPI_PTR * PFN_vkImportSemaphoreZirconHandleFUCHSIA)(VkDevice device, const VkImportSemaphoreZirconHandleInfoFUCHSIA *pImportSemaphoreZirconHandleInfo)
VKAPI_ATTR void VKAPI_CALL vkDestroyBufferCollectionFUCHSIA(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkAllocationCallbacks *pAllocator)
VkResult(VKAPI_PTR * PFN_vkSetBufferCollectionImageConstraintsFUCHSIA)(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkImageConstraintsInfoFUCHSIA *pImageConstraintsInfo)
VKAPI_ATTR VkResult VKAPI_CALL vkCreateImagePipeSurfaceFUCHSIA(VkInstance instance, const VkImagePipeSurfaceCreateInfoFUCHSIA *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryZirconHandlePropertiesFUCHSIA(VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, zx_handle_t zirconHandle, VkMemoryZirconHandlePropertiesFUCHSIA *pMemoryZirconHandleProperties)
VkSamplerYcbcrModelConversion suggestedYcbcrModel
struct VkImportMemoryZirconHandleInfoFUCHSIA VkImportMemoryZirconHandleInfoFUCHSIA
VkFormatFeatureFlags formatFeatures
struct VkSemaphoreGetZirconHandleInfoFUCHSIA VkSemaphoreGetZirconHandleInfoFUCHSIA
struct VkBufferCollectionCreateInfoFUCHSIA VkBufferCollectionCreateInfoFUCHSIA
VKAPI_ATTR VkResult VKAPI_CALL vkGetSemaphoreZirconHandleFUCHSIA(VkDevice device, const VkSemaphoreGetZirconHandleInfoFUCHSIA *pGetZirconHandleInfo, zx_handle_t *pZirconHandle)
VkFlags VkSemaphoreImportFlags
VKAPI_ATTR VkResult VKAPI_CALL vkSetBufferCollectionImageConstraintsFUCHSIA(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkImageConstraintsInfoFUCHSIA *pImageConstraintsInfo)
VkFlags VkImagePipeSurfaceCreateFlagsFUCHSIA
uint32_t formatConstraintsCount
VkSemaphoreImportFlags flags
VkBufferCollectionFUCHSIA collection
VkExternalSemaphoreHandleTypeFlagBits handleType
struct VkMemoryGetZirconHandleInfoFUCHSIA VkMemoryGetZirconHandleInfoFUCHSIA
VkResult(VKAPI_PTR * PFN_vkCreateBufferCollectionFUCHSIA)(VkDevice device, const VkBufferCollectionCreateInfoFUCHSIA *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkBufferCollectionFUCHSIA *pCollection)
VkSysmemColorSpaceFUCHSIA sysmemColorSpaceIndex
VkSamplerYcbcrRange suggestedYcbcrRange
VkFormatFeatureFlags requiredFormatFeatures
#define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object)
VkSamplerYcbcrModelConversion
VkExternalMemoryHandleTypeFlagBits handleType
VkImagePipeSurfaceCreateFlagsFUCHSIA flags
VkResult(VKAPI_PTR * PFN_vkGetBufferCollectionPropertiesFUCHSIA)(VkDevice device, VkBufferCollectionFUCHSIA collection, VkBufferCollectionPropertiesFUCHSIA *pProperties)
VkChromaLocation suggestedYChromaOffset
VkResult(VKAPI_PTR * PFN_vkGetMemoryZirconHandleFUCHSIA)(VkDevice device, const VkMemoryGetZirconHandleInfoFUCHSIA *pGetZirconHandleInfo, zx_handle_t *pZirconHandle)
struct VkBufferCollectionPropertiesFUCHSIA VkBufferCollectionPropertiesFUCHSIA
const VkImageFormatConstraintsInfoFUCHSIA * pFormatConstraints
VkFlags VkImageConstraintsInfoFlagsFUCHSIA