-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgfxstream.xml
188 lines (183 loc) · 13.3 KB
/
gfxstream.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<?xml version="1.0" encoding="UTF-8"?>
<registry>
<comment>
Copyright 2020 Google LLC
SPDX-License-Identifier: Apache-2.0 OR MIT
</comment>
<comment> This file, VK_GOOGLE_gfxstream.xml, provides definitions for gfxstream Vulkan. These definitions are used by the gfxstream driver and renderer, and are not exposed to applications. </comment>
<types>
<type category="struct" name="VkImportColorBufferGOOGLE" structextends="VkMemoryAllocateInfo">
<member values="VK_STRUCTURE_TYPE_IMPORT_COLOR_BUFFER_GOOGLE"><type>VkStructureType</type> <name>sType</name></member>
<member><type>void</type>* <name>pNext</name></member>
<member><type>uint32_t</type> <name>colorBuffer</name></member>
</type>
<type category="struct" name="VkImportBufferGOOGLE" structextends="VkMemoryAllocateInfo">
<member values="VK_STRUCTURE_TYPE_IMPORT_BUFFER_GOOGLE"><type>VkStructureType</type> <name>sType</name></member>
<member><type>void</type>* <name>pNext</name></member>
<member><type>uint32_t</type> <name>buffer</name></member>
</type>
<type category="struct" name="VkImportPhysicalAddressGOOGLE" structextends="VkMemoryAllocateInfo">
<member values="VK_STRUCTURE_TYPE_IMPORT_PHYSICAL_ADDRESS_GOOGLE"><type>VkStructureType</type> <name>sType</name></member>
<member><type>void</type>* <name>pNext</name></member>
<member><type>uint64_t</type> <name>physicalAddress</name></member>
<member><type>VkDeviceSize</type> <name>size</name></member>
<member><type>VkFormat</type> <name>format</name></member>
<member><type>VkImageTiling</type> <name>tiling</name></member>
<member><type>uint32_t</type> <name>tilingParameter</name></member>
</type>
</types>
<commands>
<command successcodes="VK_SUCCESS" errorcodes="VK_ERROR_OUT_OF_HOST_MEMORY,VK_ERROR_OUT_OF_DEVICE_MEMORY,VK_ERROR_MEMORY_MAP_FAILED">
<proto><type>VkResult</type> <name>vkMapMemoryIntoAddressSpaceGOOGLE</name></proto>
<param><type>VkDevice</type> <name>device</name></param>
<param externsync="true" devicememoryhandle="1"><type>VkDeviceMemory</type> <name>memory</name></param>
<param optional="false,true"><type>uint64_t</type>* <name>pAddress</name></param>
</command>
<command successcodes="VK_SUCCESS" errorcodes="VK_ERROR_INITIALIZATION_FAILED,VK_ERROR_OUT_OF_HOST_MEMORY,VK_ERROR_OUT_OF_DEVICE_MEMORY">
<proto><type>VkResult</type> <name>vkRegisterImageColorBufferGOOGLE</name></proto>
<param><type>VkDevice</type> <name>device</name></param>
<param><type>VkImage</type> <name>image</name></param>
<param><type>uint32_t</type> <name>colorBuffer</name></param>
</command>
<command successcodes="VK_SUCCESS" errorcodes="VK_ERROR_INITIALIZATION_FAILED,VK_ERROR_OUT_OF_HOST_MEMORY,VK_ERROR_OUT_OF_DEVICE_MEMORY">
<proto><type>VkResult</type> <name>vkRegisterBufferColorBufferGOOGLE</name></proto>
<param><type>VkDevice</type> <name>device</name></param>
<param><type>VkBuffer</type> <name>buffer</name></param>
<param><type>uint32_t</type> <name>colorBuffer</name></param>
</command>
<command>
<proto><type>void</type> <name>vkUpdateDescriptorSetWithTemplateSizedGOOGLE</name></proto>
<param><type>VkDevice</type> <name>device</name></param>
<param externsync="true"><type>VkDescriptorSet</type> <name>descriptorSet</name></param>
<param><type>VkDescriptorUpdateTemplate</type> <name>descriptorUpdateTemplate</name></param>
<param><type>uint32_t</type> <name>imageInfoCount</name></param>
<param><type>uint32_t</type> <name>bufferInfoCount</name></param>
<param><type>uint32_t</type> <name>bufferViewCount</name></param>
<param optional="true" len="imageInfoCount">const <type>uint32_t</type>* <name>pImageInfoEntryIndices</name></param>
<param optional="true" len="bufferInfoCount">const <type>uint32_t</type>* <name>pBufferInfoEntryIndices</name></param>
<param optional="true" len="bufferViewCount">const <type>uint32_t</type>* <name>pBufferViewEntryIndices</name></param>
<param optional="true" len="imageInfoCount">const <type>VkDescriptorImageInfo</type>* <name>pImageInfos</name></param>
<param optional="true" len="bufferInfoCount">const <type>VkDescriptorBufferInfo</type>* <name>pBufferInfos</name></param>
<param optional="true" len="bufferViewCount">const <type>VkBufferView</type>* <name>pBufferViews</name></param>
</command>
<command>
<proto><type>void</type> <name>vkBeginCommandBufferAsyncGOOGLE</name></proto>
<param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
<param>const <type>VkCommandBufferBeginInfo</type>* <name>pBeginInfo</name></param>
<implicitexternsyncparams>
<param>the sname:VkCommandPool that pname:commandBuffer was allocated from</param>
</implicitexternsyncparams>
</command>
<command>
<proto><type>void</type> <name>vkEndCommandBufferAsyncGOOGLE</name></proto>
<param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
<implicitexternsyncparams>
<param>the sname:VkCommandPool that pname:commandBuffer was allocated from</param>
</implicitexternsyncparams>
</command>
<command>
<proto><type>void</type> <name>vkResetCommandBufferAsyncGOOGLE</name></proto>
<param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
<param optional="true"><type>VkCommandBufferResetFlags</type> <name>flags</name></param>
</command>
<command>
<proto><type>void</type> <name>vkCommandBufferHostSyncGOOGLE</name></proto>
<param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
<param><type>uint32_t</type> <name>needHostSync</name></param>
<param><type>uint32_t</type> <name>sequenceNumber</name></param>
</command>
<command successcodes="VK_SUCCESS" errorcodes="VK_ERROR_OUT_OF_HOST_MEMORY,VK_ERROR_OUT_OF_DEVICE_MEMORY">
<proto><type>VkResult</type> <name>vkCreateImageWithRequirementsGOOGLE</name></proto>
<param><type>VkDevice</type> <name>device</name></param>
<param>const <type>VkImageCreateInfo</type>* <name>pCreateInfo</name></param>
<param optional="true">const <type>VkAllocationCallbacks</type>* <name>pAllocator</name></param>
<param><type>VkImage</type>* <name>pImage</name></param>
<param><type>VkMemoryRequirements</type>* <name>pMemoryRequirements</name></param>
</command>
<command successcodes="VK_SUCCESS" errorcodes="VK_ERROR_OUT_OF_HOST_MEMORY,VK_ERROR_OUT_OF_DEVICE_MEMORY">
<proto><type>VkResult</type> <name>vkCreateBufferWithRequirementsGOOGLE</name></proto>
<param><type>VkDevice</type> <name>device</name></param>
<param>const <type>VkBufferCreateInfo</type>* <name>pCreateInfo</name></param>
<param optional="true">const <type>VkAllocationCallbacks</type>* <name>pAllocator</name></param>
<param><type>VkBuffer</type>* <name>pBuffer</name></param>
<param><type>VkMemoryRequirements</type>* <name>pMemoryRequirements</name></param>
</command>
<command successcodes="VK_SUCCESS" errorcodes="VK_ERROR_OUT_OF_HOST_MEMORY">
<proto><type>VkResult</type> <name>vkGetMemoryHostAddressInfoGOOGLE</name></proto>
<param><type>VkDevice</type> <name>device</name></param>
<param externsync="true" devicememoryhandle="1"><type>VkDeviceMemory</type> <name>memory</name></param>
<param optional="false,true"><type>uint64_t</type>* <name>pAddress</name></param>
<param optional="false,true"><type>uint64_t</type>* <name>pSize</name></param>
<param optional="false,true"><type>uint64_t</type>* <name>pHostmemId</name></param>
</command>
<command successcodes="VK_SUCCESS" errorcodes="VK_ERROR_OUT_OF_HOST_MEMORY,VK_ERROR_OUT_OF_DEVICE_MEMORY">
<proto><type>VkResult</type> <name>vkFreeMemorySyncGOOGLE</name></proto>
<param><type>VkDevice</type> <name>device</name></param>
<param optional="true" externsync="true" devicememoryhandle="1"><type>VkDeviceMemory</type> <name>memory</name></param>
<param optional="true">const <type>VkAllocationCallbacks</type>* <name>pAllocator</name></param>
</command>
<command>
<proto><type>void</type> <name>vkQueueHostSyncGOOGLE</name></proto>
<param externsync="true"><type>VkQueue</type> <name>queue</name></param>
<param><type>uint32_t</type> <name>needHostSync</name></param>
<param><type>uint32_t</type> <name>sequenceNumber</name></param>
</command>
<command>
<proto><type>void</type> <name>vkQueueSubmitAsyncGOOGLE</name></proto>
<param externsync="true"><type>VkQueue</type> <name>queue</name></param>
<param optional="true"><type>uint32_t</type> <name>submitCount</name></param>
<param len="submitCount" externsync="pSubmits[].pWaitSemaphores[],pSubmits[].pSignalSemaphores[]">const <type>VkSubmitInfo</type>* <name>pSubmits</name></param>
<param optional="true" externsync="true"><type>VkFence</type> <name>fence</name></param>
</command>
<command>
<proto><type>void</type> <name>vkQueueWaitIdleAsyncGOOGLE</name></proto>
<param><type>VkQueue</type> <name>queue</name></param>
</command>
<command queues="sparse_binding">
<proto><type>void</type> <name>vkQueueBindSparseAsyncGOOGLE</name></proto>
<param externsync="true"><type>VkQueue</type> <name>queue</name></param>
<param optional="true"><type>uint32_t</type> <name>bindInfoCount</name></param>
<param len="bindInfoCount" externsync="pBindInfo[].pWaitSemaphores[],pBindInfo[].pSignalSemaphores[],pBindInfo[].pBufferBinds[].buffer,pBindInfo[].pImageOpaqueBinds[].image,pBindInfo[].pImageBinds[].image">const <type>VkBindSparseInfo</type>* <name>pBindInfo</name></param>
<param optional="true" externsync="true"><type>VkFence</type> <name>fence</name></param>
</command>
<command>
<proto><type>void</type> <name>vkGetLinearImageLayoutGOOGLE</name></proto>
<param><type>VkDevice</type> <name>device</name></param>
<param><type>VkFormat</type> <name>format</name></param>
<param><type>VkDeviceSize</type>* <name>pOffset</name></param>
<param><type>VkDeviceSize</type>* <name>pRowPitchAlignment</name></param>
</command>
</commands>
<extensions>
<extension name="VK_GOOGLE_gfxstream" number="9000" author="GOOGLE" contact="Yilong Li @gnoliyil,Roman Kiryanov @rkir,Lingfeng Yang @frank" supported="vulkan">
<require>
<enum value="1" name="VK_GOOGLE_GFXSTREAM_SPEC_VERSION"/>
<enum value="9000" name="VK_GOOGLE_GFXSTREAM_NUMBER"/>
<enum value=""VK_GOOGLE_gfxstream"" name="VK_GOOGLE_GFXSTREAM_EXTENSION_NAME"/>
<enum offset="0" extends="VkStructureType" name="VK_STRUCTURE_TYPE_IMPORT_COLOR_BUFFER_GOOGLE"/>
<enum offset="1" extends="VkStructureType" name="VK_STRUCTURE_TYPE_IMPORT_BUFFER_GOOGLE"/>
<enum offset="2" extends="VkStructureType" name="VK_STRUCTURE_TYPE_IMPORT_PHYSICAL_ADDRESS_GOOGLE"/>
<type name="VkImportColorBufferGOOGLE"/>
<type name="VkImportBufferGOOGLE"/>
<type name="VkImportPhysicalAddressGOOGLE"/>
<command name="vkMapMemoryIntoAddressSpaceGOOGLE"/>
<command name="vkRegisterImageColorBufferGOOGLE"/>
<command name="vkRegisterBufferColorBufferGOOGLE"/>
<command name="vkUpdateDescriptorSetWithTemplateSizedGOOGLE"/>
<command name="vkBeginCommandBufferAsyncGOOGLE"/>
<command name="vkEndCommandBufferAsyncGOOGLE"/>
<command name="vkResetCommandBufferAsyncGOOGLE"/>
<command name="vkCommandBufferHostSyncGOOGLE"/>
<command name="vkCreateImageWithRequirementsGOOGLE"/>
<command name="vkCreateBufferWithRequirementsGOOGLE"/>
<command name="vkGetMemoryHostAddressInfoGOOGLE"/>
<command name="vkFreeMemorySyncGOOGLE"/>
<command name="vkQueueHostSyncGOOGLE"/>
<command name="vkQueueSubmitAsyncGOOGLE"/>
<command name="vkQueueWaitIdleAsyncGOOGLE"/>
<command name="vkQueueBindSparseAsyncGOOGLE"/>
<command name="vkGetLinearImageLayoutGOOGLE"/>
</require>
</extension>
</extensions>
</registry>