74 VkSemaphore semaphore;
83 bool renderdoc_enabled;
106 PFN_vkGetInstanceProcAddr getProc,
107 VkPhysicalDevice physicalDevice,
109 bool external_fence_fd_enabled,
110 bool external_semaphore_fd_enabled,
111 bool timeline_semaphore_enabled,
112 bool image_format_list_enabled,
113 bool debug_utils_enabled,
114 bool renderdoc_enabled,
115 uint32_t queueFamilyIndex,
116 uint32_t queueIndex);
#define XRT_MAX_SWAPCHAIN_IMAGES
Max swapchain images, artificial limit.
Definition xrt_limits.h:53
enum xrt_result xrt_result_t
Result type used across Monado.
Wraps the real compositor providing a Vulkan based interface.
Definition comp_vk_client.h:66
xrt_result_t client_vk_compositor_blit_to_swapchain(struct client_vk_compositor *c, struct xrt_swapchain *xsc, const struct vk_cmd_first_mip_image *src_image, const struct vk_cmd_blit_image_params *src_params, uint32_t dst_index, const struct vk_cmd_blit_image_params *dst_params)
Blit a Vulkan image to a swapchain image.
Definition comp_vk_client.c:943
struct xrt_compositor_native * xcn
Owning reference to the backing native compositor.
Definition comp_vk_client.h:70
struct client_vk_compositor * client_vk_compositor_create(struct xrt_compositor_native *xcn, VkInstance instance, PFN_vkGetInstanceProcAddr getProc, VkPhysicalDevice physicalDevice, VkDevice device, bool external_fence_fd_enabled, bool external_semaphore_fd_enabled, bool timeline_semaphore_enabled, bool image_format_list_enabled, bool debug_utils_enabled, bool renderdoc_enabled, uint32_t queueFamilyIndex, uint32_t queueIndex)
Create a new client_vk_compositor.
Definition comp_vk_client.c:810
Wraps the real compositor swapchain providing a Vulkan based interface.
Definition comp_vk_client.h:40
struct client_vk_compositor * c
Non-owning reference to our parent compositor.
Definition comp_vk_client.h:47
struct xrt_swapchain_native * xscn
Owning reference to the backing native swapchain.
Definition comp_vk_client.h:44
A bundle of Vulkan functions and objects, used by both Compositor and Compositor client code.
Definition vk_helpers.h:81
Structure defining the parameters for a blit operation, sans the image itself.
Definition vk_cmd.h:74
A similar struct to VkImageSubresourceRange and VkImageSubresourceLayers expect for this it's implied...
Definition vk_cmd.h:34
Small helper to manage lock around a command pool.
Definition vk_cmd_pool.h:33
Main compositor server interface.
Definition xrt_compositor.h:2268
Compositor semaphore used for synchronization, needs to be as capable as a Vulkan pipeline semaphore.
Definition xrt_compositor.h:823
Base class for a Vulkan client compositor.
Definition xrt_compositor.h:2063
Base class for a swapchain that exposes a native buffer handle to be imported into a client API.
Definition xrt_compositor.h:2235
Base class for a Vulkan client swapchain.
Definition xrt_compositor.h:2048
Common swapchain interface/base.
Definition xrt_compositor.h:571
Common Vulkan code header.
Header defining an XRT graphics provider.