Home | History | Annotate | Download | only in vulkan-validation-layers

Lines Matching refs:Proto

76 class Proto(object):
80 # the proto has only a param
165 return "Proto(\"%s\", \"%s\",\n%s)" % \
188 for proto in self.protos:
189 param_lines = str(proto).splitlines()
190 param_lines[-1] += ",\n" if proto != self.protos[-1] else ","
230 Proto("VkResult", "CreateInstance",
235 Proto("void", "DestroyInstance",
239 Proto("VkResult", "EnumeratePhysicalDevices",
244 Proto("void", "GetPhysicalDeviceFeatures",
248 Proto("void", "GetPhysicalDeviceFormatProperties",
253 Proto("VkResult", "GetPhysicalDeviceImageFormatProperties",
262 Proto("void", "GetPhysicalDeviceProperties",
266 Proto("void", "GetPhysicalDeviceQueueFamilyProperties",
271 Proto("void", "GetPhysicalDeviceMemoryProperties",
275 Proto("PFN_vkVoidFunction", "GetInstanceProcAddr",
279 Proto("PFN_vkVoidFunction", "GetDeviceProcAddr",
283 Proto("VkResult", "CreateDevice",
289 Proto("void", "DestroyDevice",
293 Proto("VkResult", "EnumerateInstanceExtensionProperties",
298 Proto("VkResult", "EnumerateDeviceExtensionProperties",
304 Proto("VkResult", "EnumerateInstanceLayerProperties",
308 Proto("VkResult", "EnumerateDeviceLayerProperties",
313 Proto("void", "GetDeviceQueue",
319 Proto("VkResult", "QueueSubmit",
325 Proto("VkResult", "QueueWaitIdle",
328 Proto("VkResult", "DeviceWaitIdle",
331 Proto("VkResult", "AllocateMemory",
337 Proto("void", "FreeMemory",
342 Proto("VkResult", "MapMemory",
350 Proto("void", "UnmapMemory",
354 Proto("VkResult", "FlushMappedMemoryRanges",
359 Proto("VkResult", "InvalidateMappedMemoryRanges",
364 Proto("void", "GetDeviceMemoryCommitment",
369 Proto("VkResult", "BindBufferMemory",
375 Proto("VkResult", "BindImageMemory",
381 Proto("void", "GetBufferMemoryRequirements",
386 Proto("void", "GetImageMemoryRequirements",
391 Proto("void", "GetImageSparseMemoryRequirements",
397 Proto("void", "GetPhysicalDeviceSparseImageFormatProperties",
407 Proto("VkResult", "QueueBindSparse",
413 Proto("VkResult", "CreateFence",
419 Proto("void", "DestroyFence",
424 Proto("VkResult", "ResetFences",
429 Proto("VkResult", "GetFenceStatus",
433 Proto("VkResult", "WaitForFences",
440 Proto("VkResult", "CreateSemaphore",
446 Proto("void", "DestroySemaphore",
451 Proto("VkResult", "CreateEvent",
457 Proto("void", "DestroyEvent",
462 Proto("VkResult", "GetEventStatus",
466 Proto("VkResult", "SetEvent",
470 Proto("VkResult", "ResetEvent",
474 Proto("VkResult", "CreateQueryPool",
480 Proto("void", "DestroyQueryPool",
485 Proto("VkResult", "GetQueryPoolResults",
495 Proto("VkResult", "CreateBuffer",
501 Proto("void", "DestroyBuffer",
506 Proto("VkResult", "CreateBufferView",
512 Proto("void", "DestroyBufferView",
517 Proto("VkResult", "CreateImage",
523 Proto("void", "DestroyImage",
528 Proto("void", "GetImageSubresourceLayout",
534 Proto("VkResult", "CreateImageView",
540 Proto("void", "DestroyImageView",
545 Proto("VkResult", "CreateShaderModule",
551 Proto("void", "DestroyShaderModule",
556 Proto("VkResult", "CreatePipelineCache",
562 Proto("void", "DestroyPipelineCache",
567 Proto("VkResult", "GetPipelineCacheData",
573 Proto("VkResult", "MergePipelineCaches",
579 Proto("VkResult", "CreateGraphicsPipelines",
587 Proto("VkResult", "CreateComputePipelines",
595 Proto("void", "DestroyPipeline",
600 Proto("VkResult", "CreatePipelineLayout",
606 Proto("void", "DestroyPipelineLayout",
611 Proto("VkResult", "CreateSampler",
617 Proto("void", "DestroySampler",
622 Proto("VkResult", "CreateDescriptorSetLayout",
628 Proto("void", "DestroyDescriptorSetLayout",
633 Proto("VkResult", "CreateDescriptorPool",
639 Proto("void", "DestroyDescriptorPool",
644 Proto("VkResult", "ResetDescriptorPool",
649 Proto("VkResult", "AllocateDescriptorSets",
654 Proto("VkResult", "FreeDescriptorSets",
660 Proto("void", "UpdateDescriptorSets",
667 Proto("VkResult", "CreateFramebuffer",
673 Proto("void", "DestroyFramebuffer",
678 Proto("VkResult", "CreateRenderPass",
684 Proto("void", "DestroyRenderPass",
689 Proto("void", "GetRenderAreaGranularity",
694 Proto("VkResult", "CreateCommandPool",
700 Proto("void", "DestroyCommandPool",
705 Proto("VkResult", "ResetCommandPool",
710 Proto("VkResult", "AllocateCommandBuffers",
715 Proto("void", "FreeCommandBuffers",
721 Proto("VkResult", "BeginCommandBuffer",
725 Proto("VkResult", "EndCommandBuffer",
728 Proto("VkResult", "ResetCommandBuffer",
732 Proto("void", "CmdBindPipeline",
737 Proto("void", "CmdSetViewport",
743 Proto("void", "CmdSetScissor",
749 Proto("void", "CmdSetLineWidth",
753 Proto("void", "CmdSetDepthBias",
759 Proto("void", "CmdSetBlendConstants",
763 Proto("void", "CmdSetDepthBounds",
768 Proto("void", "CmdSetStencilCompareMask",
773 Proto("void", "CmdSetStencilWriteMask",
778 Proto("void", "CmdSetStencilReference",
783 Proto("void", "CmdBindDescriptorSets",
793 Proto("void", "CmdBindIndexBuffer",
799 Proto("void", "CmdBindVertexBuffers",
806 Proto("void", "CmdDraw",
813 Proto("void", "CmdDrawIndexed",
821 Proto
828 Proto("void", "CmdDrawIndexedIndirect",
835 Proto("void", "CmdDispatch",
841 Proto("void", "CmdDispatchIndirect",
846 Proto("void", "CmdCopyBuffer",
853 Proto("void", "CmdCopyImage",
862 Proto("void", "CmdBlitImage",
872 Proto("void", "CmdCopyBufferToImage",
880 Proto("void", "CmdCopyImageToBuffer",
888 Proto("void", "CmdUpdateBuffer",
895 Proto("void", "CmdFillBuffer",
902 Proto("void", "CmdClearColorImage",
910 Proto("void", "CmdClearDepthStencilImage",
918 Proto("void", "CmdClearAttachments",
925 Proto("void", "CmdResolveImage",
934 Proto("void", "CmdSetEvent",
939 Proto("void", "CmdResetEvent",
944 Proto("void", "CmdWaitEvents",
957 Proto("void", "CmdPipelineBarrier",
969 Proto("void", "CmdBeginQuery",
975 Proto("void", "CmdEndQuery",
980 Proto("void", "CmdResetQueryPool",
986 Proto("void", "CmdWriteTimestamp",
992 Proto("void", "CmdCopyQueryPoolResults",
1002 Proto("void", "CmdPushConstants",
1010 Proto("void", "CmdBeginRenderPass",
1015 Proto("void", "CmdNextSubpass",
1019 Proto("void", "CmdEndRenderPass",
1022 Proto("void", "CmdExecuteCommands",
1034 Proto("void", "DestroySurfaceKHR",
1039 Proto("VkResult", "GetPhysicalDeviceSurfaceSupportKHR",
1045 Proto("VkResult", "GetPhysicalDeviceSurfaceCapabilitiesKHR",
1050 Proto("VkResult", "GetPhysicalDeviceSurfaceFormatsKHR",
1056 Proto("VkResult", "GetPhysicalDeviceSurfacePresentModesKHR",
1069 Proto("VkResult", "CreateSwapchainKHR",
1075 Proto("void", "DestroySwapchainKHR",
1080 Proto("VkResult", "GetSwapchainImagesKHR",
1086 Proto("VkResult", "AcquireNextImageKHR",
1094 Proto("VkResult", "QueuePresentKHR",
1105 Proto("VkResult", "CreateXcbSurfaceKHR",
1111 Proto("VkBool32", "GetPhysicalDeviceXcbPresentationSupportKHR",
1123 Proto("VkResult", "CreateXlibSurfaceKHR",
1129 Proto("VkBool32", "GetPhysicalDeviceXlibPresentationSupportKHR",
1141 Proto("VkResult", "CreateWaylandSurfaceKHR",
1147 Proto("VkBool32", "GetPhysicalDeviceWaylandPresentationSupportKHR",
1158 Proto("VkResult", "CreateMirSurfaceKHR",
1164 Proto("VkBool32", "GetPhysicalDeviceMirPresentationSupportKHR",
1175 Proto("VkResult", "CreateAndroidSurfaceKHR",
1187 Proto("VkResult", "CreateWin32SurfaceKHR",
1193 Proto("VkBool32", "GetPhysicalDeviceWin32PresentationSupportKHR",
1205 Proto("VkResult", "CreateDebugReportCallbackEXT",
1211 Proto("void", "DestroyDebugReportCallbackEXT",
1216 Proto("void", "DebugReportMessageEXT",
1309 proto_names = [proto.name for proto in protos]
1358 protos.append(Proto(proto_ret, proto_name, params))
1370 for proto in ext.protos:
1371 print(" PFN_vk%s %s;" % (proto.name, proto.name))