Monado OpenXR Runtime
|
A bundle of Vulkan functions and objects, used by both Compositor and Compositor client code. More...
#include <vk/vk_helpers.h>
Data Fields | |
bool | |
VkInstance | instance |
VkPhysicalDevice | physical_device |
VkDevice | device |
uint32_t | queue_family_index |
uint32_t | queue_index |
VkDebugReportCallbackEXT | debug_report_cb |
VkPhysicalDeviceMemoryProperties | device_memory_props |
VkCommandPool | cmd_pool |
PFN_vkGetInstanceProcAddr | vkGetInstanceProcAddr |
PFN_vkCreateInstance | vkCreateInstance |
PFN_vkDestroyInstance | vkDestroyInstance |
PFN_vkCreateDevice | vkCreateDevice |
PFN_vkCreateDebugReportCallbackEXT | vkCreateDebugReportCallbackEXT |
PFN_vkDestroyDebugReportCallbackEXT | vkDestroyDebugReportCallbackEXT |
PFN_vkEnumeratePhysicalDevices | vkEnumeratePhysicalDevices |
PFN_vkDestroySurfaceKHR | vkDestroySurfaceKHR |
PFN_vkCreateXcbSurfaceKHR | vkCreateXcbSurfaceKHR |
PFN_vkCreateWaylandSurfaceKHR | vkCreateWaylandSurfaceKHR |
PFN_vkCreateDisplayPlaneSurfaceKHR | vkCreateDisplayPlaneSurfaceKHR |
PFN_vkGetDisplayPlaneCapabilitiesKHR | vkGetDisplayPlaneCapabilitiesKHR |
PFN_vkGetPhysicalDeviceDisplayPropertiesKHR | vkGetPhysicalDeviceDisplayPropertiesKHR |
PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR | vkGetPhysicalDeviceDisplayPlanePropertiesKHR |
PFN_vkGetDisplayModePropertiesKHR | vkGetDisplayModePropertiesKHR |
PFN_vkAcquireXlibDisplayEXT | vkAcquireXlibDisplayEXT |
PFN_vkReleaseDisplayEXT | vkReleaseDisplayEXT |
PFN_vkGetRandROutputDisplayEXT | vkGetRandROutputDisplayEXT |
PFN_vkGetPhysicalDeviceMemoryProperties | vkGetPhysicalDeviceMemoryProperties |
PFN_vkGetPhysicalDeviceQueueFamilyProperties | vkGetPhysicalDeviceQueueFamilyProperties |
PFN_vkGetPhysicalDeviceProperties | vkGetPhysicalDeviceProperties |
PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR | vkGetPhysicalDeviceSurfaceCapabilitiesKHR |
PFN_vkGetPhysicalDeviceSurfaceFormatsKHR | vkGetPhysicalDeviceSurfaceFormatsKHR |
PFN_vkGetPhysicalDeviceSurfacePresentModesKHR | vkGetPhysicalDeviceSurfacePresentModesKHR |
PFN_vkGetPhysicalDeviceSurfaceSupportKHR | vkGetPhysicalDeviceSurfaceSupportKHR |
PFN_vkGetDeviceProcAddr | vkGetDeviceProcAddr |
PFN_vkDestroyDevice | vkDestroyDevice |
PFN_vkDeviceWaitIdle | vkDeviceWaitIdle |
PFN_vkAllocateMemory | vkAllocateMemory |
PFN_vkFreeMemory | vkFreeMemory |
PFN_vkMapMemory | vkMapMemory |
PFN_vkUnmapMemory | vkUnmapMemory |
PFN_vkGetMemoryFdKHR | vkGetMemoryFdKHR |
PFN_vkCreateBuffer | vkCreateBuffer |
PFN_vkDestroyBuffer | vkDestroyBuffer |
PFN_vkBindBufferMemory | vkBindBufferMemory |
PFN_vkGetBufferMemoryRequirements | vkGetBufferMemoryRequirements |
PFN_vkCreateImage | vkCreateImage |
PFN_vkGetImageMemoryRequirements | vkGetImageMemoryRequirements |
PFN_vkBindImageMemory | vkBindImageMemory |
PFN_vkDestroyImage | vkDestroyImage |
PFN_vkCreateImageView | vkCreateImageView |
PFN_vkDestroyImageView | vkDestroyImageView |
PFN_vkCreateSampler | vkCreateSampler |
PFN_vkDestroySampler | vkDestroySampler |
PFN_vkCreateShaderModule | vkCreateShaderModule |
PFN_vkDestroyShaderModule | vkDestroyShaderModule |
PFN_vkCreateCommandPool | vkCreateCommandPool |
PFN_vkDestroyCommandPool | vkDestroyCommandPool |
PFN_vkAllocateCommandBuffers | vkAllocateCommandBuffers |
PFN_vkBeginCommandBuffer | vkBeginCommandBuffer |
PFN_vkCmdPipelineBarrier | vkCmdPipelineBarrier |
PFN_vkCmdBeginRenderPass | vkCmdBeginRenderPass |
PFN_vkCmdSetScissor | vkCmdSetScissor |
PFN_vkCmdSetViewport | vkCmdSetViewport |
PFN_vkCmdClearColorImage | vkCmdClearColorImage |
PFN_vkCmdEndRenderPass | vkCmdEndRenderPass |
PFN_vkCmdBindDescriptorSets | vkCmdBindDescriptorSets |
PFN_vkCmdBindPipeline | vkCmdBindPipeline |
PFN_vkCmdBindVertexBuffers | vkCmdBindVertexBuffers |
PFN_vkCmdBindIndexBuffer | vkCmdBindIndexBuffer |
PFN_vkCmdDraw | vkCmdDraw |
PFN_vkCmdDrawIndexed | vkCmdDrawIndexed |
PFN_vkEndCommandBuffer | vkEndCommandBuffer |
PFN_vkFreeCommandBuffers | vkFreeCommandBuffers |
PFN_vkCreateRenderPass | vkCreateRenderPass |
PFN_vkDestroyRenderPass | vkDestroyRenderPass |
PFN_vkCreateFramebuffer | vkCreateFramebuffer |
PFN_vkDestroyFramebuffer | vkDestroyFramebuffer |
PFN_vkCreatePipelineCache | vkCreatePipelineCache |
PFN_vkDestroyPipelineCache | vkDestroyPipelineCache |
PFN_vkCreateDescriptorPool | vkCreateDescriptorPool |
PFN_vkDestroyDescriptorPool | vkDestroyDescriptorPool |
PFN_vkAllocateDescriptorSets | vkAllocateDescriptorSets |
PFN_vkCreateGraphicsPipelines | vkCreateGraphicsPipelines |
PFN_vkDestroyPipeline | vkDestroyPipeline |
PFN_vkCreatePipelineLayout | vkCreatePipelineLayout |
PFN_vkDestroyPipelineLayout | vkDestroyPipelineLayout |
PFN_vkCreateDescriptorSetLayout | vkCreateDescriptorSetLayout |
PFN_vkUpdateDescriptorSets | vkUpdateDescriptorSets |
PFN_vkDestroyDescriptorSetLayout | vkDestroyDescriptorSetLayout |
PFN_vkGetDeviceQueue | vkGetDeviceQueue |
PFN_vkQueueSubmit | vkQueueSubmit |
PFN_vkQueueWaitIdle | vkQueueWaitIdle |
PFN_vkCreateSemaphore | vkCreateSemaphore |
PFN_vkDestroySemaphore | vkDestroySemaphore |
PFN_vkCreateFence | vkCreateFence |
PFN_vkWaitForFences | vkWaitForFences |
PFN_vkDestroyFence | vkDestroyFence |
PFN_vkResetFences | vkResetFences |
PFN_vkCreateSwapchainKHR | vkCreateSwapchainKHR |
PFN_vkDestroySwapchainKHR | vkDestroySwapchainKHR |
PFN_vkGetSwapchainImagesKHR | vkGetSwapchainImagesKHR |
PFN_vkAcquireNextImageKHR | vkAcquireNextImageKHR |
PFN_vkQueuePresentKHR | vkQueuePresentKHR |
A bundle of Vulkan functions and objects, used by both Compositor and Compositor client code.
Note that they both have different instances of the object and as such VkInstance and so on.
VkCommandPool vk_bundle::cmd_pool |
Referenced by vk_init_cmd_buffer(), vk_init_cmd_pool(), and vk_submit_cmd_buffer().
VkDebugReportCallbackEXT vk_bundle::debug_report_cb |
Referenced by vk_destroy_validation_callback().
VkDevice vk_bundle::device |
Referenced by comp_distortion_destroy(), comp_swapchain_image_cleanup(), vk_alloc_and_bind_image_memory(), vk_create_image_from_fd(), vk_create_image_simple(), vk_create_sampler(), vk_create_view(), vk_init_cmd_buffer(), vk_init_cmd_pool(), vk_init_from_given(), vk_submit_cmd_buffer(), and vk_swapchain_acquire_next_image().
VkPhysicalDeviceMemoryProperties vk_bundle::device_memory_props |
Referenced by vk_get_memory_type(), and vk_init_from_given().
VkInstance vk_bundle::instance |
Referenced by vk_destroy_validation_callback(), and vk_init_from_given().
VkPhysicalDevice vk_bundle::physical_device |
bool vk_bundle::print |
uint32_t vk_bundle::queue_family_index |
Referenced by vk_init_cmd_pool(), vk_init_from_given(), and vk_submit_cmd_buffer().
uint32_t vk_bundle::queue_index |
Referenced by vk_init_from_given().
PFN_vkAcquireNextImageKHR vk_bundle::vkAcquireNextImageKHR |
Referenced by vk_swapchain_acquire_next_image().
PFN_vkAcquireXlibDisplayEXT vk_bundle::vkAcquireXlibDisplayEXT |
Referenced by comp_window_direct_acquire_xlib_display(), and vk_get_instance_functions().
PFN_vkAllocateCommandBuffers vk_bundle::vkAllocateCommandBuffers |
Referenced by vk_init_cmd_buffer().
PFN_vkAllocateDescriptorSets vk_bundle::vkAllocateDescriptorSets |
PFN_vkAllocateMemory vk_bundle::vkAllocateMemory |
Referenced by vk_alloc_and_bind_image_memory().
PFN_vkBeginCommandBuffer vk_bundle::vkBeginCommandBuffer |
Referenced by vk_init_cmd_buffer().
PFN_vkBindBufferMemory vk_bundle::vkBindBufferMemory |
PFN_vkBindImageMemory vk_bundle::vkBindImageMemory |
Referenced by vk_alloc_and_bind_image_memory().
PFN_vkCmdBeginRenderPass vk_bundle::vkCmdBeginRenderPass |
PFN_vkCmdBindDescriptorSets vk_bundle::vkCmdBindDescriptorSets |
Referenced by comp_distortion_draw_mesh(), and comp_distortion_draw_quad().
PFN_vkCmdBindIndexBuffer vk_bundle::vkCmdBindIndexBuffer |
Referenced by comp_distortion_draw_mesh().
PFN_vkCmdBindPipeline vk_bundle::vkCmdBindPipeline |
Referenced by comp_distortion_draw_mesh(), and comp_distortion_draw_quad().
PFN_vkCmdBindVertexBuffers vk_bundle::vkCmdBindVertexBuffers |
Referenced by comp_distortion_draw_mesh().
PFN_vkCmdClearColorImage vk_bundle::vkCmdClearColorImage |
PFN_vkCmdDraw vk_bundle::vkCmdDraw |
Referenced by comp_distortion_draw_mesh(), and comp_distortion_draw_quad().
PFN_vkCmdDrawIndexed vk_bundle::vkCmdDrawIndexed |
Referenced by comp_distortion_draw_mesh().
PFN_vkCmdEndRenderPass vk_bundle::vkCmdEndRenderPass |
PFN_vkCmdPipelineBarrier vk_bundle::vkCmdPipelineBarrier |
Referenced by vk_set_image_layout().
PFN_vkCmdSetScissor vk_bundle::vkCmdSetScissor |
PFN_vkCmdSetViewport vk_bundle::vkCmdSetViewport |
PFN_vkCreateBuffer vk_bundle::vkCreateBuffer |
PFN_vkCreateCommandPool vk_bundle::vkCreateCommandPool |
Referenced by vk_init_cmd_pool().
PFN_vkCreateDebugReportCallbackEXT vk_bundle::vkCreateDebugReportCallbackEXT |
Referenced by vk_get_instance_functions().
PFN_vkCreateDescriptorPool vk_bundle::vkCreateDescriptorPool |
PFN_vkCreateDescriptorSetLayout vk_bundle::vkCreateDescriptorSetLayout |
PFN_vkCreateDevice vk_bundle::vkCreateDevice |
Referenced by vk_get_instance_functions().
PFN_vkCreateDisplayPlaneSurfaceKHR vk_bundle::vkCreateDisplayPlaneSurfaceKHR |
Referenced by vk_get_instance_functions().
PFN_vkCreateFence vk_bundle::vkCreateFence |
Referenced by vk_submit_cmd_buffer().
PFN_vkCreateFramebuffer vk_bundle::vkCreateFramebuffer |
PFN_vkCreateGraphicsPipelines vk_bundle::vkCreateGraphicsPipelines |
PFN_vkCreateImage vk_bundle::vkCreateImage |
Referenced by vk_create_image_from_fd(), and vk_create_image_simple().
PFN_vkCreateImageView vk_bundle::vkCreateImageView |
Referenced by vk_create_view().
PFN_vkCreateInstance vk_bundle::vkCreateInstance |
Referenced by vk_get_loader_functions(), and vk_init_from_given().
PFN_vkCreatePipelineCache vk_bundle::vkCreatePipelineCache |
PFN_vkCreatePipelineLayout vk_bundle::vkCreatePipelineLayout |
PFN_vkCreateRenderPass vk_bundle::vkCreateRenderPass |
PFN_vkCreateSampler vk_bundle::vkCreateSampler |
Referenced by vk_create_sampler().
PFN_vkCreateSemaphore vk_bundle::vkCreateSemaphore |
PFN_vkCreateShaderModule vk_bundle::vkCreateShaderModule |
PFN_vkCreateSwapchainKHR vk_bundle::vkCreateSwapchainKHR |
PFN_vkCreateWaylandSurfaceKHR vk_bundle::vkCreateWaylandSurfaceKHR |
Referenced by vk_get_instance_functions().
PFN_vkCreateXcbSurfaceKHR vk_bundle::vkCreateXcbSurfaceKHR |
Referenced by vk_get_instance_functions().
PFN_vkDestroyBuffer vk_bundle::vkDestroyBuffer |
PFN_vkDestroyCommandPool vk_bundle::vkDestroyCommandPool |
PFN_vkDestroyDebugReportCallbackEXT vk_bundle::vkDestroyDebugReportCallbackEXT |
Referenced by vk_destroy_validation_callback(), and vk_get_instance_functions().
PFN_vkDestroyDescriptorPool vk_bundle::vkDestroyDescriptorPool |
PFN_vkDestroyDescriptorSetLayout vk_bundle::vkDestroyDescriptorSetLayout |
Referenced by comp_distortion_destroy().
PFN_vkDestroyDevice vk_bundle::vkDestroyDevice |
PFN_vkDestroyFence vk_bundle::vkDestroyFence |
Referenced by vk_submit_cmd_buffer().
PFN_vkDestroyFramebuffer vk_bundle::vkDestroyFramebuffer |
PFN_vkDestroyImage vk_bundle::vkDestroyImage |
Referenced by comp_swapchain_image_cleanup(), vk_create_image_from_fd(), and vk_create_image_simple().
PFN_vkDestroyImageView vk_bundle::vkDestroyImageView |
Referenced by comp_swapchain_image_cleanup().
PFN_vkDestroyInstance vk_bundle::vkDestroyInstance |
Referenced by vk_get_instance_functions().
PFN_vkDestroyPipeline vk_bundle::vkDestroyPipeline |
PFN_vkDestroyPipelineCache vk_bundle::vkDestroyPipelineCache |
PFN_vkDestroyPipelineLayout vk_bundle::vkDestroyPipelineLayout |
PFN_vkDestroyRenderPass vk_bundle::vkDestroyRenderPass |
PFN_vkDestroySampler vk_bundle::vkDestroySampler |
Referenced by comp_swapchain_image_cleanup().
PFN_vkDestroySemaphore vk_bundle::vkDestroySemaphore |
PFN_vkDestroyShaderModule vk_bundle::vkDestroyShaderModule |
PFN_vkDestroySurfaceKHR vk_bundle::vkDestroySurfaceKHR |
Referenced by vk_get_instance_functions().
PFN_vkDestroySwapchainKHR vk_bundle::vkDestroySwapchainKHR |
PFN_vkDeviceWaitIdle vk_bundle::vkDeviceWaitIdle |
Referenced by comp_swapchain_image_cleanup().
PFN_vkEndCommandBuffer vk_bundle::vkEndCommandBuffer |
Referenced by vk_submit_cmd_buffer().
PFN_vkEnumeratePhysicalDevices vk_bundle::vkEnumeratePhysicalDevices |
Referenced by vk_get_instance_functions().
PFN_vkFreeCommandBuffers vk_bundle::vkFreeCommandBuffers |
Referenced by vk_init_cmd_buffer(), and vk_submit_cmd_buffer().
PFN_vkFreeMemory vk_bundle::vkFreeMemory |
Referenced by comp_swapchain_image_cleanup(), and vk_alloc_and_bind_image_memory().
PFN_vkGetBufferMemoryRequirements vk_bundle::vkGetBufferMemoryRequirements |
PFN_vkGetDeviceProcAddr vk_bundle::vkGetDeviceProcAddr |
Referenced by vk_get_instance_functions().
PFN_vkGetDeviceQueue vk_bundle::vkGetDeviceQueue |
Referenced by vk_submit_cmd_buffer().
PFN_vkGetDisplayModePropertiesKHR vk_bundle::vkGetDisplayModePropertiesKHR |
Referenced by comp_window_direct_get_primary_display_mode(), and vk_get_instance_functions().
PFN_vkGetDisplayPlaneCapabilitiesKHR vk_bundle::vkGetDisplayPlaneCapabilitiesKHR |
Referenced by comp_window_direct_create_surface(), and vk_get_instance_functions().
PFN_vkGetImageMemoryRequirements vk_bundle::vkGetImageMemoryRequirements |
Referenced by vk_alloc_and_bind_image_memory().
PFN_vkGetInstanceProcAddr vk_bundle::vkGetInstanceProcAddr |
Referenced by vk_get_loader_functions(), and vk_init_from_given().
PFN_vkGetMemoryFdKHR vk_bundle::vkGetMemoryFdKHR |
PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR vk_bundle::vkGetPhysicalDeviceDisplayPlanePropertiesKHR |
Referenced by comp_window_direct_create_surface(), and vk_get_instance_functions().
PFN_vkGetPhysicalDeviceDisplayPropertiesKHR vk_bundle::vkGetPhysicalDeviceDisplayPropertiesKHR |
Referenced by vk_get_instance_functions().
PFN_vkGetPhysicalDeviceMemoryProperties vk_bundle::vkGetPhysicalDeviceMemoryProperties |
Referenced by vk_get_instance_functions(), and vk_init_from_given().
PFN_vkGetPhysicalDeviceProperties vk_bundle::vkGetPhysicalDeviceProperties |
Referenced by vk_get_instance_functions().
PFN_vkGetPhysicalDeviceQueueFamilyProperties vk_bundle::vkGetPhysicalDeviceQueueFamilyProperties |
Referenced by vk_get_instance_functions().
PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR vk_bundle::vkGetPhysicalDeviceSurfaceCapabilitiesKHR |
Referenced by vk_get_instance_functions().
PFN_vkGetPhysicalDeviceSurfaceFormatsKHR vk_bundle::vkGetPhysicalDeviceSurfaceFormatsKHR |
Referenced by vk_get_instance_functions().
PFN_vkGetPhysicalDeviceSurfacePresentModesKHR vk_bundle::vkGetPhysicalDeviceSurfacePresentModesKHR |
Referenced by vk_get_instance_functions().
PFN_vkGetPhysicalDeviceSurfaceSupportKHR vk_bundle::vkGetPhysicalDeviceSurfaceSupportKHR |
Referenced by vk_get_instance_functions().
PFN_vkGetRandROutputDisplayEXT vk_bundle::vkGetRandROutputDisplayEXT |
Referenced by vk_get_instance_functions().
PFN_vkGetSwapchainImagesKHR vk_bundle::vkGetSwapchainImagesKHR |
PFN_vkMapMemory vk_bundle::vkMapMemory |
PFN_vkQueuePresentKHR vk_bundle::vkQueuePresentKHR |
Referenced by vk_swapchain_present().
PFN_vkQueueSubmit vk_bundle::vkQueueSubmit |
Referenced by vk_submit_cmd_buffer().
PFN_vkQueueWaitIdle vk_bundle::vkQueueWaitIdle |
PFN_vkReleaseDisplayEXT vk_bundle::vkReleaseDisplayEXT |
Referenced by vk_get_instance_functions().
PFN_vkResetFences vk_bundle::vkResetFences |
PFN_vkUnmapMemory vk_bundle::vkUnmapMemory |
PFN_vkUpdateDescriptorSets vk_bundle::vkUpdateDescriptorSets |
PFN_vkWaitForFences vk_bundle::vkWaitForFences |
Referenced by vk_submit_cmd_buffer().