Monado OpenXR Runtime
vk_bundle Struct Reference

A bundle of Vulkan functions and objects, used by both Compositor and Compositor client code. More...

#include <vk/vk_helpers.h>

Collaboration diagram for vk_bundle:

Data Fields

enum u_logging_level log_level
 
VkInstance instance
 
uint32_t version
 
VkPhysicalDevice physical_device
 
int physical_device_index
 
VkDevice device
 
uint32_t queue_family_index
 
uint32_t queue_index
 
VkQueue queue
 
struct os_mutex queue_mutex
 
struct {
external
 
bool has_EXT_display_surface_counter
 
bool has_EXT_swapchain_colorspace
 
bool has_EXT_debug_utils
 
bool has_KHR_external_fence_fd
 
bool has_KHR_external_semaphore_fd
 
bool has_KHR_format_feature_flags2
 
bool has_KHR_global_priority
 
bool has_KHR_image_format_list
 
bool has_KHR_maintenance1
 
bool has_KHR_maintenance2
 
bool has_KHR_maintenance3
 
bool has_KHR_maintenance4
 
bool has_KHR_synchronization2
 
bool has_KHR_timeline_semaphore
 
bool has_EXT_calibrated_timestamps
 
bool has_EXT_display_control
 
bool has_EXT_external_memory_dma_buf
 
bool has_EXT_global_priority
 
bool has_EXT_image_drm_format_modifier
 
bool has_EXT_robustness2
 
bool has_ANDROID_external_format_resolve
 
bool has_GOOGLE_display_timing
 
struct {
   bool   timestamp_compute_and_graphics
 Are timestamps available for compute and graphics queues? More...
 
   float   timestamp_period
 Nanoseconds per gpu tick. More...
 
   uint32_t   timestamp_valid_bits
 Valid bits in the queue selected. More...
 
   bool   timeline_semaphore
 Were timeline semaphore requested, available, and enabled? More...
 
   uint32_t   max_per_stage_descriptor_sampled_images
 Per stage limit on sampled images (includes combined). More...
 
   uint32_t   max_per_stage_descriptor_storage_images
 Per stage limit on storage images. More...
 
   bool   synchronization_2
 Was synchronization2 requested, available, and enabled? More...
 
features
 
bool is_tegra
 Is the GPU a tegra device. More...
 
VkDebugReportCallbackEXT debug_report_cb
 
VkPhysicalDeviceMemoryProperties device_memory_props
 
PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr
 
PFN_vkCreateInstance vkCreateInstance
 
PFN_vkEnumerateInstanceExtensionProperties vkEnumerateInstanceExtensionProperties
 
PFN_vkDestroyInstance vkDestroyInstance
 
PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr
 
PFN_vkCreateDevice vkCreateDevice
 
PFN_vkDestroySurfaceKHR vkDestroySurfaceKHR
 
PFN_vkCreateDebugReportCallbackEXT vkCreateDebugReportCallbackEXT
 
PFN_vkDestroyDebugReportCallbackEXT vkDestroyDebugReportCallbackEXT
 
PFN_vkEnumeratePhysicalDevices vkEnumeratePhysicalDevices
 
PFN_vkGetPhysicalDeviceProperties vkGetPhysicalDeviceProperties
 
PFN_vkGetPhysicalDeviceProperties2KHR vkGetPhysicalDeviceProperties2
 
PFN_vkGetPhysicalDeviceFeatures2KHR vkGetPhysicalDeviceFeatures2
 
PFN_vkGetPhysicalDeviceMemoryProperties vkGetPhysicalDeviceMemoryProperties
 
PFN_vkGetPhysicalDeviceQueueFamilyProperties vkGetPhysicalDeviceQueueFamilyProperties
 
PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR vkGetPhysicalDeviceSurfaceCapabilitiesKHR
 
PFN_vkGetPhysicalDeviceSurfaceFormatsKHR vkGetPhysicalDeviceSurfaceFormatsKHR
 
PFN_vkGetPhysicalDeviceSurfacePresentModesKHR vkGetPhysicalDeviceSurfacePresentModesKHR
 
PFN_vkGetPhysicalDeviceSurfaceSupportKHR vkGetPhysicalDeviceSurfaceSupportKHR
 
PFN_vkGetPhysicalDeviceFormatProperties vkGetPhysicalDeviceFormatProperties
 
PFN_vkGetPhysicalDeviceFormatProperties2KHR vkGetPhysicalDeviceFormatProperties2
 
PFN_vkGetPhysicalDeviceImageFormatProperties2KHR vkGetPhysicalDeviceImageFormatProperties2
 
PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR vkGetPhysicalDeviceExternalBufferPropertiesKHR
 
PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR vkGetPhysicalDeviceExternalFencePropertiesKHR
 
PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR vkGetPhysicalDeviceExternalSemaphorePropertiesKHR
 
PFN_vkEnumerateDeviceExtensionProperties vkEnumerateDeviceExtensionProperties
 
PFN_vkEnumerateDeviceLayerProperties vkEnumerateDeviceLayerProperties
 
PFN_vkCreateXcbSurfaceKHR vkCreateXcbSurfaceKHR
 
PFN_vkCreateWaylandSurfaceKHR vkCreateWaylandSurfaceKHR
 
PFN_vkGetRandROutputDisplayEXT vkGetRandROutputDisplayEXT
 
PFN_vkAcquireXlibDisplayEXT vkAcquireXlibDisplayEXT
 
PFN_vkDestroyDevice vkDestroyDevice
 
PFN_vkDeviceWaitIdle vkDeviceWaitIdle
 
PFN_vkAllocateMemory vkAllocateMemory
 
PFN_vkFreeMemory vkFreeMemory
 
PFN_vkMapMemory vkMapMemory
 
PFN_vkUnmapMemory vkUnmapMemory
 
PFN_vkCreateBuffer vkCreateBuffer
 
PFN_vkDestroyBuffer vkDestroyBuffer
 
PFN_vkBindBufferMemory vkBindBufferMemory
 
PFN_vkCreateImage vkCreateImage
 
PFN_vkDestroyImage vkDestroyImage
 
PFN_vkBindImageMemory vkBindImageMemory
 
PFN_vkGetBufferMemoryRequirements vkGetBufferMemoryRequirements
 
PFN_vkFlushMappedMemoryRanges vkFlushMappedMemoryRanges
 
PFN_vkGetImageMemoryRequirements vkGetImageMemoryRequirements
 
PFN_vkGetImageMemoryRequirements2KHR vkGetImageMemoryRequirements2
 
PFN_vkGetImageSubresourceLayout vkGetImageSubresourceLayout
 
PFN_vkCreateImageView vkCreateImageView
 
PFN_vkDestroyImageView vkDestroyImageView
 
PFN_vkCreateSampler vkCreateSampler
 
PFN_vkDestroySampler vkDestroySampler
 
PFN_vkCreateShaderModule vkCreateShaderModule
 
PFN_vkDestroyShaderModule vkDestroyShaderModule
 
PFN_vkCreateQueryPool vkCreateQueryPool
 
PFN_vkDestroyQueryPool vkDestroyQueryPool
 
PFN_vkGetQueryPoolResults vkGetQueryPoolResults
 
PFN_vkCreateCommandPool vkCreateCommandPool
 
PFN_vkDestroyCommandPool vkDestroyCommandPool
 
PFN_vkResetCommandPool vkResetCommandPool
 
PFN_vkAllocateCommandBuffers vkAllocateCommandBuffers
 
PFN_vkBeginCommandBuffer vkBeginCommandBuffer
 
PFN_vkCmdBeginQuery vkCmdBeginQuery
 
PFN_vkCmdCopyQueryPoolResults vkCmdCopyQueryPoolResults
 
PFN_vkCmdEndQuery vkCmdEndQuery
 
PFN_vkCmdResetQueryPool vkCmdResetQueryPool
 
PFN_vkCmdWriteTimestamp vkCmdWriteTimestamp
 
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_vkCmdDispatch vkCmdDispatch
 
PFN_vkCmdCopyBuffer vkCmdCopyBuffer
 
PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage
 
PFN_vkCmdCopyImage vkCmdCopyImage
 
PFN_vkCmdCopyImageToBuffer vkCmdCopyImageToBuffer
 
PFN_vkCmdBlitImage vkCmdBlitImage
 
PFN_vkCmdPushConstants vkCmdPushConstants
 
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_vkResetDescriptorPool vkResetDescriptorPool
 
PFN_vkCreateDescriptorPool vkCreateDescriptorPool
 
PFN_vkDestroyDescriptorPool vkDestroyDescriptorPool
 
PFN_vkAllocateDescriptorSets vkAllocateDescriptorSets
 
PFN_vkFreeDescriptorSets vkFreeDescriptorSets
 
PFN_vkCreateComputePipelines vkCreateComputePipelines
 
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_vkGetFenceStatus vkGetFenceStatus
 
PFN_vkDestroyFence vkDestroyFence
 
PFN_vkResetFences vkResetFences
 
PFN_vkCreateSwapchainKHR vkCreateSwapchainKHR
 
PFN_vkDestroySwapchainKHR vkDestroySwapchainKHR
 
PFN_vkGetSwapchainImagesKHR vkGetSwapchainImagesKHR
 
PFN_vkAcquireNextImageKHR vkAcquireNextImageKHR
 
PFN_vkQueuePresentKHR vkQueuePresentKHR
 
PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR
 
PFN_vkGetFenceFdKHR vkGetFenceFdKHR
 
PFN_vkGetSemaphoreFdKHR vkGetSemaphoreFdKHR
 
PFN_vkImportFenceFdKHR vkImportFenceFdKHR
 
PFN_vkImportSemaphoreFdKHR vkImportSemaphoreFdKHR
 
PFN_vkGetPastPresentationTimingGOOGLE vkGetPastPresentationTimingGOOGLE
 

Detailed Description

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 thus different VkInstance, etc.

Field Documentation

◆ is_tegra

bool vk_bundle::is_tegra

Is the GPU a tegra device.

◆ max_per_stage_descriptor_sampled_images

uint32_t vk_bundle::max_per_stage_descriptor_sampled_images

Per stage limit on sampled images (includes combined).

Referenced by render_resources::render_resources_init().

◆ max_per_stage_descriptor_storage_images

uint32_t vk_bundle::max_per_stage_descriptor_storage_images

Per stage limit on storage images.

◆ synchronization_2

bool vk_bundle::synchronization_2

Was synchronization2 requested, available, and enabled?

◆ timeline_semaphore

bool vk_bundle::timeline_semaphore

Were timeline semaphore requested, available, and enabled?

Referenced by comp_semaphore_create(), and vk_can_import_and_export_timeline_semaphore().

◆ timestamp_compute_and_graphics

bool vk_bundle::timestamp_compute_and_graphics

Are timestamps available for compute and graphics queues?

◆ timestamp_period

float vk_bundle::timestamp_period

Nanoseconds per gpu tick.

Referenced by render_resources::render_resources_get_duration().

◆ timestamp_valid_bits

uint32_t vk_bundle::timestamp_valid_bits

Valid bits in the queue selected.


The documentation for this struct was generated from the following file: