Lines Matching refs:name
35 def __init__(self, name, dispatch): argument
36 self.name = name
50 name = c[name_begin:name_end]
58 return cls(name, dispatch)
67 if self.name in ["GetInstanceProcAddr"]:
74 (repr(self.name), repr(self.dispatch))
77 def __init__(self, name, version, guard=None, commands=[]): argument
78 self.name = name
89 (repr(self.name), repr(self.version), repr(self.guard)))
99 vk_core = Extension(name='VK_core', version=0, guard=None, commands=[
100 Command(name='CreateInstance', dispatch=None),
101 Command(name='DestroyInstance', dispatch='VkInstance'),
102 Command(name='EnumeratePhysicalDevices', dispatch='VkInstance'),
103 Command(name='GetPhysicalDeviceFeatures', dispatch='VkPhysicalDevice'),
104 Command(name='GetPhysicalDeviceFormatProperties', dispatch='VkPhysicalDevice'),
105 Command(name='GetPhysicalDeviceImageFormatProperties', dispatch='VkPhysicalDevice'),
106 Command(name='GetPhysicalDeviceProperties', dispatch='VkPhysicalDevice'),
107 Command(name='GetPhysicalDeviceQueueFamilyProperties', dispatch='VkPhysicalDevice'),
108 Command(name='GetPhysicalDeviceMemoryProperties', dispatch='VkPhysicalDevice'),
109 Command(name='GetInstanceProcAddr', dispatch='VkInstance'),
110 Command(name='GetDeviceProcAddr', dispatch='VkDevice'),
111 Command(name='CreateDevice', dispatch='VkPhysicalDevice'),
112 Command(name='DestroyDevice', dispatch='VkDevice'),
113 Command(name='EnumerateInstanceExtensionProperties', dispatch=None),
114 Command(name='EnumerateDeviceExtensionProperties', dispatch='VkPhysicalDevice'),
115 Command(name='EnumerateInstanceLayerProperties', dispatch=None),
116 Command(name='EnumerateDeviceLayerProperties', dispatch='VkPhysicalDevice'),
117 Command(name='GetDeviceQueue', dispatch='VkDevice'),
118 Command(name='QueueSubmit', dispatch='VkQueue'),
119 Command(name='QueueWaitIdle', dispatch='VkQueue'),
120 Command(name='DeviceWaitIdle', dispatch='VkDevice'),
121 Command(name='AllocateMemory', dispatch='VkDevice'),
122 Command(name='FreeMemory', dispatch='VkDevice'),
123 Command(name='MapMemory', dispatch='VkDevice'),
124 Command(name='UnmapMemory', dispatch='VkDevice'),
125 Command(name='FlushMappedMemoryRanges', dispatch='VkDevice'),
126 Command(name='InvalidateMappedMemoryRanges', dispatch='VkDevice'),
127 Command(name='GetDeviceMemoryCommitment', dispatch='VkDevice'),
128 Command(name='BindBufferMemory', dispatch='VkDevice'),
129 Command(name='BindImageMemory', dispatch='VkDevice'),
130 Command(name='GetBufferMemoryRequirements', dispatch='VkDevice'),
131 Command(name='GetImageMemoryRequirements', dispatch='VkDevice'),
132 Command(name='GetImageSparseMemoryRequirements', dispatch='VkDevice'),
133 Command(name='GetPhysicalDeviceSparseImageFormatProperties', dispatch='VkPhysicalDevice'),
134 Command(name='QueueBindSparse', dispatch='VkQueue'),
135 Command(name='CreateFence', dispatch='VkDevice'),
136 Command(name='DestroyFence', dispatch='VkDevice'),
137 Command(name='ResetFences', dispatch='VkDevice'),
138 Command(name='GetFenceStatus', dispatch='VkDevice'),
139 Command(name='WaitForFences', dispatch='VkDevice'),
140 Command(name='CreateSemaphore', dispatch='VkDevice'),
141 Command(name='DestroySemaphore', dispatch='VkDevice'),
142 Command(name='CreateEvent', dispatch='VkDevice'),
143 Command(name='DestroyEvent', dispatch='VkDevice'),
144 Command(name='GetEventStatus', dispatch='VkDevice'),
145 Command(name='SetEvent', dispatch='VkDevice'),
146 Command(name='ResetEvent', dispatch='VkDevice'),
147 Command(name='CreateQueryPool', dispatch='VkDevice'),
148 Command(name='DestroyQueryPool', dispatch='VkDevice'),
149 Command(name='GetQueryPoolResults', dispatch='VkDevice'),
150 Command(name='CreateBuffer', dispatch='VkDevice'),
151 Command(name='DestroyBuffer', dispatch='VkDevice'),
152 Command(name='CreateBufferView', dispatch='VkDevice'),
153 Command(name='DestroyBufferView', dispatch='VkDevice'),
154 Command(name='CreateImage', dispatch='VkDevice'),
155 Command(name='DestroyImage', dispatch='VkDevice'),
156 Command(name='GetImageSubresourceLayout', dispatch='VkDevice'),
157 Command(name='CreateImageView', dispatch='VkDevice'),
158 Command(name='DestroyImageView', dispatch='VkDevice'),
159 Command(name='CreateShaderModule', dispatch='VkDevice'),
160 Command(name='DestroyShaderModule', dispatch='VkDevice'),
161 Command(name='CreatePipelineCache', dispatch='VkDevice'),
162 Command(name='DestroyPipelineCache', dispatch='VkDevice'),
163 Command(name='GetPipelineCacheData', dispatch='VkDevice'),
164 Command(name='MergePipelineCaches', dispatch='VkDevice'),
165 Command(name='CreateGraphicsPipelines', dispatch='VkDevice'),
166 Command(name='CreateComputePipelines', dispatch='VkDevice'),
167 Command(name='DestroyPipeline', dispatch='VkDevice'),
168 Command(name='CreatePipelineLayout', dispatch='VkDevice'),
169 Command(name='DestroyPipelineLayout', dispatch='VkDevice'),
170 Command(name='CreateSampler', dispatch='VkDevice'),
171 Command(name='DestroySampler', dispatch='VkDevice'),
172 Command(name='CreateDescriptorSetLayout', dispatch='VkDevice'),
173 Command(name='DestroyDescriptorSetLayout', dispatch='VkDevice'),
174 Command(name='CreateDescriptorPool', dispatch='VkDevice'),
175 Command(name='DestroyDescriptorPool', dispatch='VkDevice'),
176 Command(name='ResetDescriptorPool', dispatch='VkDevice'),
177 Command(name='AllocateDescriptorSets', dispatch='VkDevice'),
178 Command(name='FreeDescriptorSets', dispatch='VkDevice'),
179 Command(name='UpdateDescriptorSets', dispatch='VkDevice'),
180 Command(name='CreateFramebuffer', dispatch='VkDevice'),
181 Command(name='DestroyFramebuffer', dispatch='VkDevice'),
182 Command(name='CreateRenderPass', dispatch='VkDevice'),
183 Command(name='DestroyRenderPass', dispatch='VkDevice'),
184 Command(name='GetRenderAreaGranularity', dispatch='VkDevice'),
185 Command(name='CreateCommandPool', dispatch='VkDevice'),
186 Command(name='DestroyCommandPool', dispatch='VkDevice'),
187 Command(name='ResetCommandPool', dispatch='VkDevice'),
188 Command(name='AllocateCommandBuffers', dispatch='VkDevice'),
189 Command(name='FreeCommandBuffers', dispatch='VkDevice'),
190 Command(name='BeginCommandBuffer', dispatch='VkCommandBuffer'),
191 Command(name='EndCommandBuffer', dispatch='VkCommandBuffer'),
192 Command(name='ResetCommandBuffer', dispatch='VkCommandBuffer'),
193 Command(name='CmdBindPipeline', dispatch='VkCommandBuffer'),
194 Command(name='CmdSetViewport', dispatch='VkCommandBuffer'),
195 Command(name='CmdSetScissor', dispatch='VkCommandBuffer'),
196 Command(name='CmdSetLineWidth', dispatch='VkCommandBuffer'),
197 Command(name='CmdSetDepthBias', dispatch='VkCommandBuffer'),
198 Command(name='CmdSetBlendConstants', dispatch='VkCommandBuffer'),
199 Command(name='CmdSetDepthBounds', dispatch='VkCommandBuffer'),
200 Command(name='CmdSetStencilCompareMask', dispatch='VkCommandBuffer'),
201 Command(name='CmdSetStencilWriteMask', dispatch='VkCommandBuffer'),
202 Command(name='CmdSetStencilReference', dispatch='VkCommandBuffer'),
203 Command(name='CmdBindDescriptorSets', dispatch='VkCommandBuffer'),
204 Command(name='CmdBindIndexBuffer', dispatch='VkCommandBuffer'),
205 Command(name='CmdBindVertexBuffers', dispatch='VkCommandBuffer'),
206 Command(name='CmdDraw', dispatch='VkCommandBuffer'),
207 Command(name='CmdDrawIndexed', dispatch='VkCommandBuffer'),
208 Command(name='CmdDrawIndirect', dispatch='VkCommandBuffer'),
209 Command(name='CmdDrawIndexedIndirect', dispatch='VkCommandBuffer'),
210 Command(name='CmdDispatch', dispatch='VkCommandBuffer'),
211 Command(name='CmdDispatchIndirect', dispatch='VkCommandBuffer'),
212 Command(name='CmdCopyBuffer', dispatch='VkCommandBuffer'),
213 Command(name='CmdCopyImage', dispatch='VkCommandBuffer'),
214 Command(name='CmdBlitImage', dispatch='VkCommandBuffer'),
215 Command(name='CmdCopyBufferToImage', dispatch='VkCommandBuffer'),
216 Command(name='CmdCopyImageToBuffer', dispatch='VkCommandBuffer'),
217 Command(name='CmdUpdateBuffer', dispatch='VkCommandBuffer'),
218 Command(name='CmdFillBuffer', dispatch='VkCommandBuffer'),
219 Command(name='CmdClearColorImage', dispatch='VkCommandBuffer'),
220 Command(name='CmdClearDepthStencilImage', dispatch='VkCommandBuffer'),
221 Command(name='CmdClearAttachments', dispatch='VkCommandBuffer'),
222 Command(name='CmdResolveImage', dispatch='VkCommandBuffer'),
223 Command(name='CmdSetEvent', dispatch='VkCommandBuffer'),
224 Command(name='CmdResetEvent', dispatch='VkCommandBuffer'),
225 Command(name='CmdWaitEvents', dispatch='VkCommandBuffer'),
226 Command(name='CmdPipelineBarrier', dispatch='VkCommandBuffer'),
227 Command(name='CmdBeginQuery', dispatch='VkCommandBuffer'),
228 Command(name='CmdEndQuery', dispatch='VkCommandBuffer'),
229 Command(name='CmdResetQueryPool', dispatch='VkCommandBuffer'),
230 Command(name='CmdWriteTimestamp', dispatch='VkCommandBuffer'),
231 Command(name='CmdCopyQueryPoolResults', dispatch='VkCommandBuffer'),
232 Command(name='CmdPushConstants', dispatch='VkCommandBuffer'),
233 Command(name='CmdBeginRenderPass', dispatch='VkCommandBuffer'),
234 Command(name='CmdNextSubpass', dispatch='VkCommandBuffer'),
235 Command(name='CmdEndRenderPass', dispatch='VkCommandBuffer'),
236 Command(name='CmdExecuteCommands', dispatch='VkCommandBuffer'),
239 vk_khr_surface = Extension(name='VK_KHR_surface', version=25, guard=None, commands=[
240 Command(name='DestroySurfaceKHR', dispatch='VkInstance'),
241 Command(name='GetPhysicalDeviceSurfaceSupportKHR', dispatch='VkPhysicalDevice'),
242 Command(name='GetPhysicalDeviceSurfaceCapabilitiesKHR', dispatch='VkPhysicalDevice'),
243 Command(name='GetPhysicalDeviceSurfaceFormatsKHR', dispatch='VkPhysicalDevice'),
244 Command(name='GetPhysicalDeviceSurfacePresentModesKHR', dispatch='VkPhysicalDevice'),
247 vk_khr_swapchain = Extension(name='VK_KHR_swapchain', version=67, guard=None, commands=[
248 Command(name='CreateSwapchainKHR', dispatch='VkDevice'),
249 Command(name='DestroySwapchainKHR', dispatch='VkDevice'),
250 Command(name='GetSwapchainImagesKHR', dispatch='VkDevice'),
251 Command(name='AcquireNextImageKHR', dispatch='VkDevice'),
252 Command(name='QueuePresentKHR', dispatch='VkQueue'),
255 vk_khr_display = Extension(name='VK_KHR_display', version=21, guard=None, commands=[
256 Command(name='GetPhysicalDeviceDisplayPropertiesKHR', dispatch='VkPhysicalDevice'),
257 Command(name='GetPhysicalDeviceDisplayPlanePropertiesKHR', dispatch='VkPhysicalDevice'),
258 Command(name='GetDisplayPlaneSupportedDisplaysKHR', dispatch='VkPhysicalDevice'),
259 Command(name='GetDisplayModePropertiesKHR', dispatch='VkPhysicalDevice'),
260 Command(name='CreateDisplayModeKHR', dispatch='VkPhysicalDevice'),
261 Command(name='GetDisplayPlaneCapabilitiesKHR', dispatch='VkPhysicalDevice'),
262 Command(name='CreateDisplayPlaneSurfaceKHR', dispatch='VkInstance'),
265 vk_khr_display_swapchain = Extension(name='VK_KHR_display_swapchain', version=9, guard=None, comman…
266 Command(name='CreateSharedSwapchainsKHR', dispatch='VkDevice'),
269 vk_khr_xlib_surface = Extension(name='VK_KHR_xlib_surface', version=6, guard='VK_USE_PLATFORM_XLIB_…
270 Command(name='CreateXlibSurfaceKHR', dispatch='VkInstance'),
271 Command(name='GetPhysicalDeviceXlibPresentationSupportKHR', dispatch='VkPhysicalDevice'),
274 vk_khr_xcb_surface = Extension(name='VK_KHR_xcb_surface', version=6, guard='VK_USE_PLATFORM_XCB_KHR…
275 Command(name='CreateXcbSurfaceKHR', dispatch='VkInstance'),
276 Command(name='GetPhysicalDeviceXcbPresentationSupportKHR', dispatch='VkPhysicalDevice'),
279 vk_khr_wayland_surface = Extension(name='VK_KHR_wayland_surface', version=5, guard='VK_USE_PLATFORM…
280 Command(name='CreateWaylandSurfaceKHR', dispatch='VkInstance'),
281 Command(name='GetPhysicalDeviceWaylandPresentationSupportKHR', dispatch='VkPhysicalDevice'),
284 vk_khr_mir_surface = Extension(name='VK_KHR_mir_surface', version=4, guard='VK_USE_PLATFORM_MIR_KHR…
285 Command(name='CreateMirSurfaceKHR', dispatch='VkInstance'),
286 Command(name='GetPhysicalDeviceMirPresentationSupportKHR', dispatch='VkPhysicalDevice'),
289 vk_khr_android_surface = Extension(name='VK_KHR_android_surface', version=6, guard='VK_USE_PLATFORM…
290 Command(name='CreateAndroidSurfaceKHR', dispatch='VkInstance'),
293 vk_khr_win32_surface = Extension(name='VK_KHR_win32_surface', version=5, guard='VK_USE_PLATFORM_WIN…
294 Command(name='CreateWin32SurfaceKHR', dispatch='VkInstance'),
295 Command(name='GetPhysicalDeviceWin32PresentationSupportKHR', dispatch='VkPhysicalDevice'),
298 vk_ext_debug_report = Extension(name='VK_EXT_debug_report', version=1, guard=None, commands=[
299 Command(name='CreateDebugReportCallbackEXT', dispatch='VkInstance'),
300 Command(name='DestroyDebugReportCallbackEXT', dispatch='VkInstance'),
301 Command(name='DebugReportMessageEXT', dispatch='VkInstance'),
334 lines.append("// %s" % ext.name)
336 lines.append("extern PFN_vk%s %s;" % (cmd.name, cmd.name))
359 (cmd.name, cmd.name, func, dispatchable, cmd.name)
382 lines.append("PFN_vk%s %s;" % (cmd.name, cmd.name))
388 if cmd.name == "GetInstanceProcAddr":
390 elif cmd.name == "GetDeviceProcAddr":
468 name = line[name_begin:name_end]
470 current_ext = Extension(name, spec_version, ext_guard)
476 print("%s = %s" % (ext.name.lower(), repr(ext)))
481 print(" %s," % ext.name.lower())