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