1*03ce13f7SAndroid Build Coastguard Worker #ifndef VULKAN_FUCHSIA_H_ 2*03ce13f7SAndroid Build Coastguard Worker #define VULKAN_FUCHSIA_H_ 1 3*03ce13f7SAndroid Build Coastguard Worker 4*03ce13f7SAndroid Build Coastguard Worker /* 5*03ce13f7SAndroid Build Coastguard Worker ** Copyright 2015-2024 The Khronos Group Inc. 6*03ce13f7SAndroid Build Coastguard Worker ** 7*03ce13f7SAndroid Build Coastguard Worker ** SPDX-License-Identifier: Apache-2.0 8*03ce13f7SAndroid Build Coastguard Worker */ 9*03ce13f7SAndroid Build Coastguard Worker 10*03ce13f7SAndroid Build Coastguard Worker /* 11*03ce13f7SAndroid Build Coastguard Worker ** This header is generated from the Khronos Vulkan XML API Registry. 12*03ce13f7SAndroid Build Coastguard Worker ** 13*03ce13f7SAndroid Build Coastguard Worker */ 14*03ce13f7SAndroid Build Coastguard Worker 15*03ce13f7SAndroid Build Coastguard Worker 16*03ce13f7SAndroid Build Coastguard Worker #ifdef __cplusplus 17*03ce13f7SAndroid Build Coastguard Worker extern "C" { 18*03ce13f7SAndroid Build Coastguard Worker #endif 19*03ce13f7SAndroid Build Coastguard Worker 20*03ce13f7SAndroid Build Coastguard Worker 21*03ce13f7SAndroid Build Coastguard Worker 22*03ce13f7SAndroid Build Coastguard Worker // VK_FUCHSIA_imagepipe_surface is a preprocessor guard. Do not pass it to API calls. 23*03ce13f7SAndroid Build Coastguard Worker #define VK_FUCHSIA_imagepipe_surface 1 24*03ce13f7SAndroid Build Coastguard Worker #define VK_FUCHSIA_IMAGEPIPE_SURFACE_SPEC_VERSION 1 25*03ce13f7SAndroid Build Coastguard Worker #define VK_FUCHSIA_IMAGEPIPE_SURFACE_EXTENSION_NAME "VK_FUCHSIA_imagepipe_surface" 26*03ce13f7SAndroid Build Coastguard Worker typedef VkFlags VkImagePipeSurfaceCreateFlagsFUCHSIA; 27*03ce13f7SAndroid Build Coastguard Worker typedef struct VkImagePipeSurfaceCreateInfoFUCHSIA { 28*03ce13f7SAndroid Build Coastguard Worker VkStructureType sType; 29*03ce13f7SAndroid Build Coastguard Worker const void* pNext; 30*03ce13f7SAndroid Build Coastguard Worker VkImagePipeSurfaceCreateFlagsFUCHSIA flags; 31*03ce13f7SAndroid Build Coastguard Worker zx_handle_t imagePipeHandle; 32*03ce13f7SAndroid Build Coastguard Worker } VkImagePipeSurfaceCreateInfoFUCHSIA; 33*03ce13f7SAndroid Build Coastguard Worker 34*03ce13f7SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkCreateImagePipeSurfaceFUCHSIA)(VkInstance instance, const VkImagePipeSurfaceCreateInfoFUCHSIA* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface); 35*03ce13f7SAndroid Build Coastguard Worker 36*03ce13f7SAndroid Build Coastguard Worker #ifndef VK_NO_PROTOTYPES 37*03ce13f7SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkCreateImagePipeSurfaceFUCHSIA( 38*03ce13f7SAndroid Build Coastguard Worker VkInstance instance, 39*03ce13f7SAndroid Build Coastguard Worker const VkImagePipeSurfaceCreateInfoFUCHSIA* pCreateInfo, 40*03ce13f7SAndroid Build Coastguard Worker const VkAllocationCallbacks* pAllocator, 41*03ce13f7SAndroid Build Coastguard Worker VkSurfaceKHR* pSurface); 42*03ce13f7SAndroid Build Coastguard Worker #endif 43*03ce13f7SAndroid Build Coastguard Worker 44*03ce13f7SAndroid Build Coastguard Worker 45*03ce13f7SAndroid Build Coastguard Worker // VK_FUCHSIA_external_memory is a preprocessor guard. Do not pass it to API calls. 46*03ce13f7SAndroid Build Coastguard Worker #define VK_FUCHSIA_external_memory 1 47*03ce13f7SAndroid Build Coastguard Worker #define VK_FUCHSIA_EXTERNAL_MEMORY_SPEC_VERSION 1 48*03ce13f7SAndroid Build Coastguard Worker #define VK_FUCHSIA_EXTERNAL_MEMORY_EXTENSION_NAME "VK_FUCHSIA_external_memory" 49*03ce13f7SAndroid Build Coastguard Worker typedef struct VkImportMemoryZirconHandleInfoFUCHSIA { 50*03ce13f7SAndroid Build Coastguard Worker VkStructureType sType; 51*03ce13f7SAndroid Build Coastguard Worker const void* pNext; 52*03ce13f7SAndroid Build Coastguard Worker VkExternalMemoryHandleTypeFlagBits handleType; 53*03ce13f7SAndroid Build Coastguard Worker zx_handle_t handle; 54*03ce13f7SAndroid Build Coastguard Worker } VkImportMemoryZirconHandleInfoFUCHSIA; 55*03ce13f7SAndroid Build Coastguard Worker 56*03ce13f7SAndroid Build Coastguard Worker typedef struct VkMemoryZirconHandlePropertiesFUCHSIA { 57*03ce13f7SAndroid Build Coastguard Worker VkStructureType sType; 58*03ce13f7SAndroid Build Coastguard Worker void* pNext; 59*03ce13f7SAndroid Build Coastguard Worker uint32_t memoryTypeBits; 60*03ce13f7SAndroid Build Coastguard Worker } VkMemoryZirconHandlePropertiesFUCHSIA; 61*03ce13f7SAndroid Build Coastguard Worker 62*03ce13f7SAndroid Build Coastguard Worker typedef struct VkMemoryGetZirconHandleInfoFUCHSIA { 63*03ce13f7SAndroid Build Coastguard Worker VkStructureType sType; 64*03ce13f7SAndroid Build Coastguard Worker const void* pNext; 65*03ce13f7SAndroid Build Coastguard Worker VkDeviceMemory memory; 66*03ce13f7SAndroid Build Coastguard Worker VkExternalMemoryHandleTypeFlagBits handleType; 67*03ce13f7SAndroid Build Coastguard Worker } VkMemoryGetZirconHandleInfoFUCHSIA; 68*03ce13f7SAndroid Build Coastguard Worker 69*03ce13f7SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkGetMemoryZirconHandleFUCHSIA)(VkDevice device, const VkMemoryGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo, zx_handle_t* pZirconHandle); 70*03ce13f7SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA)(VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, zx_handle_t zirconHandle, VkMemoryZirconHandlePropertiesFUCHSIA* pMemoryZirconHandleProperties); 71*03ce13f7SAndroid Build Coastguard Worker 72*03ce13f7SAndroid Build Coastguard Worker #ifndef VK_NO_PROTOTYPES 73*03ce13f7SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryZirconHandleFUCHSIA( 74*03ce13f7SAndroid Build Coastguard Worker VkDevice device, 75*03ce13f7SAndroid Build Coastguard Worker const VkMemoryGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo, 76*03ce13f7SAndroid Build Coastguard Worker zx_handle_t* pZirconHandle); 77*03ce13f7SAndroid Build Coastguard Worker 78*03ce13f7SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryZirconHandlePropertiesFUCHSIA( 79*03ce13f7SAndroid Build Coastguard Worker VkDevice device, 80*03ce13f7SAndroid Build Coastguard Worker VkExternalMemoryHandleTypeFlagBits handleType, 81*03ce13f7SAndroid Build Coastguard Worker zx_handle_t zirconHandle, 82*03ce13f7SAndroid Build Coastguard Worker VkMemoryZirconHandlePropertiesFUCHSIA* pMemoryZirconHandleProperties); 83*03ce13f7SAndroid Build Coastguard Worker #endif 84*03ce13f7SAndroid Build Coastguard Worker 85*03ce13f7SAndroid Build Coastguard Worker 86*03ce13f7SAndroid Build Coastguard Worker // VK_FUCHSIA_external_semaphore is a preprocessor guard. Do not pass it to API calls. 87*03ce13f7SAndroid Build Coastguard Worker #define VK_FUCHSIA_external_semaphore 1 88*03ce13f7SAndroid Build Coastguard Worker #define VK_FUCHSIA_EXTERNAL_SEMAPHORE_SPEC_VERSION 1 89*03ce13f7SAndroid Build Coastguard Worker #define VK_FUCHSIA_EXTERNAL_SEMAPHORE_EXTENSION_NAME "VK_FUCHSIA_external_semaphore" 90*03ce13f7SAndroid Build Coastguard Worker typedef struct VkImportSemaphoreZirconHandleInfoFUCHSIA { 91*03ce13f7SAndroid Build Coastguard Worker VkStructureType sType; 92*03ce13f7SAndroid Build Coastguard Worker const void* pNext; 93*03ce13f7SAndroid Build Coastguard Worker VkSemaphore semaphore; 94*03ce13f7SAndroid Build Coastguard Worker VkSemaphoreImportFlags flags; 95*03ce13f7SAndroid Build Coastguard Worker VkExternalSemaphoreHandleTypeFlagBits handleType; 96*03ce13f7SAndroid Build Coastguard Worker zx_handle_t zirconHandle; 97*03ce13f7SAndroid Build Coastguard Worker } VkImportSemaphoreZirconHandleInfoFUCHSIA; 98*03ce13f7SAndroid Build Coastguard Worker 99*03ce13f7SAndroid Build Coastguard Worker typedef struct VkSemaphoreGetZirconHandleInfoFUCHSIA { 100*03ce13f7SAndroid Build Coastguard Worker VkStructureType sType; 101*03ce13f7SAndroid Build Coastguard Worker const void* pNext; 102*03ce13f7SAndroid Build Coastguard Worker VkSemaphore semaphore; 103*03ce13f7SAndroid Build Coastguard Worker VkExternalSemaphoreHandleTypeFlagBits handleType; 104*03ce13f7SAndroid Build Coastguard Worker } VkSemaphoreGetZirconHandleInfoFUCHSIA; 105*03ce13f7SAndroid Build Coastguard Worker 106*03ce13f7SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkImportSemaphoreZirconHandleFUCHSIA)(VkDevice device, const VkImportSemaphoreZirconHandleInfoFUCHSIA* pImportSemaphoreZirconHandleInfo); 107*03ce13f7SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkGetSemaphoreZirconHandleFUCHSIA)(VkDevice device, const VkSemaphoreGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo, zx_handle_t* pZirconHandle); 108*03ce13f7SAndroid Build Coastguard Worker 109*03ce13f7SAndroid Build Coastguard Worker #ifndef VK_NO_PROTOTYPES 110*03ce13f7SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkImportSemaphoreZirconHandleFUCHSIA( 111*03ce13f7SAndroid Build Coastguard Worker VkDevice device, 112*03ce13f7SAndroid Build Coastguard Worker const VkImportSemaphoreZirconHandleInfoFUCHSIA* pImportSemaphoreZirconHandleInfo); 113*03ce13f7SAndroid Build Coastguard Worker 114*03ce13f7SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkGetSemaphoreZirconHandleFUCHSIA( 115*03ce13f7SAndroid Build Coastguard Worker VkDevice device, 116*03ce13f7SAndroid Build Coastguard Worker const VkSemaphoreGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo, 117*03ce13f7SAndroid Build Coastguard Worker zx_handle_t* pZirconHandle); 118*03ce13f7SAndroid Build Coastguard Worker #endif 119*03ce13f7SAndroid Build Coastguard Worker 120*03ce13f7SAndroid Build Coastguard Worker 121*03ce13f7SAndroid Build Coastguard Worker // VK_FUCHSIA_buffer_collection is a preprocessor guard. Do not pass it to API calls. 122*03ce13f7SAndroid Build Coastguard Worker #define VK_FUCHSIA_buffer_collection 1 123*03ce13f7SAndroid Build Coastguard Worker VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkBufferCollectionFUCHSIA) 124*03ce13f7SAndroid Build Coastguard Worker #define VK_FUCHSIA_BUFFER_COLLECTION_SPEC_VERSION 2 125*03ce13f7SAndroid Build Coastguard Worker #define VK_FUCHSIA_BUFFER_COLLECTION_EXTENSION_NAME "VK_FUCHSIA_buffer_collection" 126*03ce13f7SAndroid Build Coastguard Worker typedef VkFlags VkImageFormatConstraintsFlagsFUCHSIA; 127*03ce13f7SAndroid Build Coastguard Worker 128*03ce13f7SAndroid Build Coastguard Worker typedef enum VkImageConstraintsInfoFlagBitsFUCHSIA { 129*03ce13f7SAndroid Build Coastguard Worker VK_IMAGE_CONSTRAINTS_INFO_CPU_READ_RARELY_FUCHSIA = 0x00000001, 130*03ce13f7SAndroid Build Coastguard Worker VK_IMAGE_CONSTRAINTS_INFO_CPU_READ_OFTEN_FUCHSIA = 0x00000002, 131*03ce13f7SAndroid Build Coastguard Worker VK_IMAGE_CONSTRAINTS_INFO_CPU_WRITE_RARELY_FUCHSIA = 0x00000004, 132*03ce13f7SAndroid Build Coastguard Worker VK_IMAGE_CONSTRAINTS_INFO_CPU_WRITE_OFTEN_FUCHSIA = 0x00000008, 133*03ce13f7SAndroid Build Coastguard Worker VK_IMAGE_CONSTRAINTS_INFO_PROTECTED_OPTIONAL_FUCHSIA = 0x00000010, 134*03ce13f7SAndroid Build Coastguard Worker VK_IMAGE_CONSTRAINTS_INFO_FLAG_BITS_MAX_ENUM_FUCHSIA = 0x7FFFFFFF 135*03ce13f7SAndroid Build Coastguard Worker } VkImageConstraintsInfoFlagBitsFUCHSIA; 136*03ce13f7SAndroid Build Coastguard Worker typedef VkFlags VkImageConstraintsInfoFlagsFUCHSIA; 137*03ce13f7SAndroid Build Coastguard Worker typedef struct VkBufferCollectionCreateInfoFUCHSIA { 138*03ce13f7SAndroid Build Coastguard Worker VkStructureType sType; 139*03ce13f7SAndroid Build Coastguard Worker const void* pNext; 140*03ce13f7SAndroid Build Coastguard Worker zx_handle_t collectionToken; 141*03ce13f7SAndroid Build Coastguard Worker } VkBufferCollectionCreateInfoFUCHSIA; 142*03ce13f7SAndroid Build Coastguard Worker 143*03ce13f7SAndroid Build Coastguard Worker typedef struct VkImportMemoryBufferCollectionFUCHSIA { 144*03ce13f7SAndroid Build Coastguard Worker VkStructureType sType; 145*03ce13f7SAndroid Build Coastguard Worker const void* pNext; 146*03ce13f7SAndroid Build Coastguard Worker VkBufferCollectionFUCHSIA collection; 147*03ce13f7SAndroid Build Coastguard Worker uint32_t index; 148*03ce13f7SAndroid Build Coastguard Worker } VkImportMemoryBufferCollectionFUCHSIA; 149*03ce13f7SAndroid Build Coastguard Worker 150*03ce13f7SAndroid Build Coastguard Worker typedef struct VkBufferCollectionImageCreateInfoFUCHSIA { 151*03ce13f7SAndroid Build Coastguard Worker VkStructureType sType; 152*03ce13f7SAndroid Build Coastguard Worker const void* pNext; 153*03ce13f7SAndroid Build Coastguard Worker VkBufferCollectionFUCHSIA collection; 154*03ce13f7SAndroid Build Coastguard Worker uint32_t index; 155*03ce13f7SAndroid Build Coastguard Worker } VkBufferCollectionImageCreateInfoFUCHSIA; 156*03ce13f7SAndroid Build Coastguard Worker 157*03ce13f7SAndroid Build Coastguard Worker typedef struct VkBufferCollectionConstraintsInfoFUCHSIA { 158*03ce13f7SAndroid Build Coastguard Worker VkStructureType sType; 159*03ce13f7SAndroid Build Coastguard Worker const void* pNext; 160*03ce13f7SAndroid Build Coastguard Worker uint32_t minBufferCount; 161*03ce13f7SAndroid Build Coastguard Worker uint32_t maxBufferCount; 162*03ce13f7SAndroid Build Coastguard Worker uint32_t minBufferCountForCamping; 163*03ce13f7SAndroid Build Coastguard Worker uint32_t minBufferCountForDedicatedSlack; 164*03ce13f7SAndroid Build Coastguard Worker uint32_t minBufferCountForSharedSlack; 165*03ce13f7SAndroid Build Coastguard Worker } VkBufferCollectionConstraintsInfoFUCHSIA; 166*03ce13f7SAndroid Build Coastguard Worker 167*03ce13f7SAndroid Build Coastguard Worker typedef struct VkBufferConstraintsInfoFUCHSIA { 168*03ce13f7SAndroid Build Coastguard Worker VkStructureType sType; 169*03ce13f7SAndroid Build Coastguard Worker const void* pNext; 170*03ce13f7SAndroid Build Coastguard Worker VkBufferCreateInfo createInfo; 171*03ce13f7SAndroid Build Coastguard Worker VkFormatFeatureFlags requiredFormatFeatures; 172*03ce13f7SAndroid Build Coastguard Worker VkBufferCollectionConstraintsInfoFUCHSIA bufferCollectionConstraints; 173*03ce13f7SAndroid Build Coastguard Worker } VkBufferConstraintsInfoFUCHSIA; 174*03ce13f7SAndroid Build Coastguard Worker 175*03ce13f7SAndroid Build Coastguard Worker typedef struct VkBufferCollectionBufferCreateInfoFUCHSIA { 176*03ce13f7SAndroid Build Coastguard Worker VkStructureType sType; 177*03ce13f7SAndroid Build Coastguard Worker const void* pNext; 178*03ce13f7SAndroid Build Coastguard Worker VkBufferCollectionFUCHSIA collection; 179*03ce13f7SAndroid Build Coastguard Worker uint32_t index; 180*03ce13f7SAndroid Build Coastguard Worker } VkBufferCollectionBufferCreateInfoFUCHSIA; 181*03ce13f7SAndroid Build Coastguard Worker 182*03ce13f7SAndroid Build Coastguard Worker typedef struct VkSysmemColorSpaceFUCHSIA { 183*03ce13f7SAndroid Build Coastguard Worker VkStructureType sType; 184*03ce13f7SAndroid Build Coastguard Worker const void* pNext; 185*03ce13f7SAndroid Build Coastguard Worker uint32_t colorSpace; 186*03ce13f7SAndroid Build Coastguard Worker } VkSysmemColorSpaceFUCHSIA; 187*03ce13f7SAndroid Build Coastguard Worker 188*03ce13f7SAndroid Build Coastguard Worker typedef struct VkBufferCollectionPropertiesFUCHSIA { 189*03ce13f7SAndroid Build Coastguard Worker VkStructureType sType; 190*03ce13f7SAndroid Build Coastguard Worker void* pNext; 191*03ce13f7SAndroid Build Coastguard Worker uint32_t memoryTypeBits; 192*03ce13f7SAndroid Build Coastguard Worker uint32_t bufferCount; 193*03ce13f7SAndroid Build Coastguard Worker uint32_t createInfoIndex; 194*03ce13f7SAndroid Build Coastguard Worker uint64_t sysmemPixelFormat; 195*03ce13f7SAndroid Build Coastguard Worker VkFormatFeatureFlags formatFeatures; 196*03ce13f7SAndroid Build Coastguard Worker VkSysmemColorSpaceFUCHSIA sysmemColorSpaceIndex; 197*03ce13f7SAndroid Build Coastguard Worker VkComponentMapping samplerYcbcrConversionComponents; 198*03ce13f7SAndroid Build Coastguard Worker VkSamplerYcbcrModelConversion suggestedYcbcrModel; 199*03ce13f7SAndroid Build Coastguard Worker VkSamplerYcbcrRange suggestedYcbcrRange; 200*03ce13f7SAndroid Build Coastguard Worker VkChromaLocation suggestedXChromaOffset; 201*03ce13f7SAndroid Build Coastguard Worker VkChromaLocation suggestedYChromaOffset; 202*03ce13f7SAndroid Build Coastguard Worker } VkBufferCollectionPropertiesFUCHSIA; 203*03ce13f7SAndroid Build Coastguard Worker 204*03ce13f7SAndroid Build Coastguard Worker typedef struct VkImageFormatConstraintsInfoFUCHSIA { 205*03ce13f7SAndroid Build Coastguard Worker VkStructureType sType; 206*03ce13f7SAndroid Build Coastguard Worker const void* pNext; 207*03ce13f7SAndroid Build Coastguard Worker VkImageCreateInfo imageCreateInfo; 208*03ce13f7SAndroid Build Coastguard Worker VkFormatFeatureFlags requiredFormatFeatures; 209*03ce13f7SAndroid Build Coastguard Worker VkImageFormatConstraintsFlagsFUCHSIA flags; 210*03ce13f7SAndroid Build Coastguard Worker uint64_t sysmemPixelFormat; 211*03ce13f7SAndroid Build Coastguard Worker uint32_t colorSpaceCount; 212*03ce13f7SAndroid Build Coastguard Worker const VkSysmemColorSpaceFUCHSIA* pColorSpaces; 213*03ce13f7SAndroid Build Coastguard Worker } VkImageFormatConstraintsInfoFUCHSIA; 214*03ce13f7SAndroid Build Coastguard Worker 215*03ce13f7SAndroid Build Coastguard Worker typedef struct VkImageConstraintsInfoFUCHSIA { 216*03ce13f7SAndroid Build Coastguard Worker VkStructureType sType; 217*03ce13f7SAndroid Build Coastguard Worker const void* pNext; 218*03ce13f7SAndroid Build Coastguard Worker uint32_t formatConstraintsCount; 219*03ce13f7SAndroid Build Coastguard Worker const VkImageFormatConstraintsInfoFUCHSIA* pFormatConstraints; 220*03ce13f7SAndroid Build Coastguard Worker VkBufferCollectionConstraintsInfoFUCHSIA bufferCollectionConstraints; 221*03ce13f7SAndroid Build Coastguard Worker VkImageConstraintsInfoFlagsFUCHSIA flags; 222*03ce13f7SAndroid Build Coastguard Worker } VkImageConstraintsInfoFUCHSIA; 223*03ce13f7SAndroid Build Coastguard Worker 224*03ce13f7SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkCreateBufferCollectionFUCHSIA)(VkDevice device, const VkBufferCollectionCreateInfoFUCHSIA* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferCollectionFUCHSIA* pCollection); 225*03ce13f7SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkSetBufferCollectionImageConstraintsFUCHSIA)(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkImageConstraintsInfoFUCHSIA* pImageConstraintsInfo); 226*03ce13f7SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkSetBufferCollectionBufferConstraintsFUCHSIA)(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkBufferConstraintsInfoFUCHSIA* pBufferConstraintsInfo); 227*03ce13f7SAndroid Build Coastguard Worker typedef void (VKAPI_PTR *PFN_vkDestroyBufferCollectionFUCHSIA)(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkAllocationCallbacks* pAllocator); 228*03ce13f7SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkGetBufferCollectionPropertiesFUCHSIA)(VkDevice device, VkBufferCollectionFUCHSIA collection, VkBufferCollectionPropertiesFUCHSIA* pProperties); 229*03ce13f7SAndroid Build Coastguard Worker 230*03ce13f7SAndroid Build Coastguard Worker #ifndef VK_NO_PROTOTYPES 231*03ce13f7SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkCreateBufferCollectionFUCHSIA( 232*03ce13f7SAndroid Build Coastguard Worker VkDevice device, 233*03ce13f7SAndroid Build Coastguard Worker const VkBufferCollectionCreateInfoFUCHSIA* pCreateInfo, 234*03ce13f7SAndroid Build Coastguard Worker const VkAllocationCallbacks* pAllocator, 235*03ce13f7SAndroid Build Coastguard Worker VkBufferCollectionFUCHSIA* pCollection); 236*03ce13f7SAndroid Build Coastguard Worker 237*03ce13f7SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkSetBufferCollectionImageConstraintsFUCHSIA( 238*03ce13f7SAndroid Build Coastguard Worker VkDevice device, 239*03ce13f7SAndroid Build Coastguard Worker VkBufferCollectionFUCHSIA collection, 240*03ce13f7SAndroid Build Coastguard Worker const VkImageConstraintsInfoFUCHSIA* pImageConstraintsInfo); 241*03ce13f7SAndroid Build Coastguard Worker 242*03ce13f7SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkSetBufferCollectionBufferConstraintsFUCHSIA( 243*03ce13f7SAndroid Build Coastguard Worker VkDevice device, 244*03ce13f7SAndroid Build Coastguard Worker VkBufferCollectionFUCHSIA collection, 245*03ce13f7SAndroid Build Coastguard Worker const VkBufferConstraintsInfoFUCHSIA* pBufferConstraintsInfo); 246*03ce13f7SAndroid Build Coastguard Worker 247*03ce13f7SAndroid Build Coastguard Worker VKAPI_ATTR void VKAPI_CALL vkDestroyBufferCollectionFUCHSIA( 248*03ce13f7SAndroid Build Coastguard Worker VkDevice device, 249*03ce13f7SAndroid Build Coastguard Worker VkBufferCollectionFUCHSIA collection, 250*03ce13f7SAndroid Build Coastguard Worker const VkAllocationCallbacks* pAllocator); 251*03ce13f7SAndroid Build Coastguard Worker 252*03ce13f7SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkGetBufferCollectionPropertiesFUCHSIA( 253*03ce13f7SAndroid Build Coastguard Worker VkDevice device, 254*03ce13f7SAndroid Build Coastguard Worker VkBufferCollectionFUCHSIA collection, 255*03ce13f7SAndroid Build Coastguard Worker VkBufferCollectionPropertiesFUCHSIA* pProperties); 256*03ce13f7SAndroid Build Coastguard Worker #endif 257*03ce13f7SAndroid Build Coastguard Worker 258*03ce13f7SAndroid Build Coastguard Worker #ifdef __cplusplus 259*03ce13f7SAndroid Build Coastguard Worker } 260*03ce13f7SAndroid Build Coastguard Worker #endif 261*03ce13f7SAndroid Build Coastguard Worker 262*03ce13f7SAndroid Build Coastguard Worker #endif 263