35 uint32_t base_array_layer;
36 VkAccessFlags aspect_mask;
51 VkImageLayout old_layout;
52 VkAccessFlags src_access_mask;
53 VkPipelineStageFlags src_stage_mask;
58 VkImageLayout old_layout;
59 VkAccessFlags src_access_mask;
60 VkPipelineStageFlags src_stage_mask;
77 VkImageLayout old_layout;
78 VkAccessFlags src_access_mask;
79 VkPipelineStageFlags src_stage_mask;
85 VkImageLayout old_layout;
86 VkAccessFlags src_access_mask;
87 VkPipelineStageFlags src_stage_mask;
106 VkImageLayout old_layout;
107 VkAccessFlags src_access_mask;
116 VkImageLayout old_layout;
117 VkAccessFlags src_access_mask;
140XRT_CHECK_RESULT VkResult
152XRT_CHECK_RESULT VkResult
155 VkCommandBufferUsageFlags
flags,
156 VkCommandBuffer *out_cmd_buffer);
169XRT_CHECK_RESULT VkResult
191XRT_CHECK_RESULT VkResult
240 VkCommandBuffer cmd_buffer,
XRT_CHECK_RESULT VkResult vk_cmd_end_submit_wait_and_free_cmd_buffer_locked(struct vk_bundle *vk, VkCommandPool pool, VkCommandBuffer cmd_buffer)
A do everything command buffer submission function, the _locked suffix refers to the command pool not...
Definition: vk_cmd.c:97
void vk_cmd_blit_images_side_by_side_locked(struct vk_bundle *vk, VkCommandBuffer cmd_buffer, const struct vk_cmd_blit_images_side_by_side_info *info)
Performs a blit of two images to side by side on a destination image, also does needed barrier operat...
Definition: vk_cmd.c:366
XRT_CHECK_RESULT VkResult vk_cmd_submit_locked(struct vk_bundle *vk, uint32_t count, const VkSubmitInfo *infos, VkFence fence)
Very small helper to submit a command buffer, the _locked suffix refers to the command pool not the q...
Definition: vk_cmd.c:81
XRT_CHECK_RESULT VkResult vk_cmd_create_and_begin_cmd_buffer_locked(struct vk_bundle *vk, VkCommandPool pool, VkCommandBufferUsageFlags flags, VkCommandBuffer *out_cmd_buffer)
Create and begin a command buffer, the pool must be locked or ensured that only this thread is access...
Definition: vk_cmd.c:41
void vk_cmd_copy_image_locked(struct vk_bundle *vk, VkCommandBuffer cmd_buffer, const struct vk_cmd_copy_image_info *info)
Performs a copy of a image into a destination image, also does needed barrier operation needed to get...
Definition: vk_cmd.c:172
void vk_cmd_blit_image_locked(struct vk_bundle *vk, VkCommandBuffer cmd_buffer, const struct vk_cmd_blit_image_info *info)
Performs a blit of a image into a destination image, also does needed barrier operation needed to get...
Definition: vk_cmd.c:266
XRT_CHECK_RESULT VkResult vk_cmd_create_cmd_buffer_locked(struct vk_bundle *vk, VkCommandPool pool, VkCommandBuffer *out_cmd_buffer)
Create a command buffer, the pool must be locked or ensured that only this thread is accessing it.
Definition: vk_cmd.c:15
A very simple implementation of a fence primitive.
Definition: comp_sync.c:36
Definition: m_space.cpp:87
Definition: u_worker.c:49
A bundle of Vulkan functions and objects, used by both Compositor and Compositor client code.
Definition: vk_helpers.h:50
Argument struct for vk_cmd_blit_image_locked.
Definition: vk_cmd.h:74
Argument struct for vk_cmd_blit_images_side_by_side_locked.
Definition: vk_cmd.h:101
struct vk_cmd_blit_images_side_by_side_info::@57 src[2]
One each for left and right eyes/views.
VkPipelineStageFlags src_stage_mask
Depends on preceding compositor stage.
Definition: vk_cmd.h:109
Argument struct for vk_cmd_copy_image_locked.
Definition: vk_cmd.h:48
A similar struct to VkImageSubresourceRange and VkImageSubresourceLayers expect for this it's implied...
Definition: vk_cmd.h:34
Image rectangle.
Definition: xrt_defines.h:430
Image size.
Definition: xrt_defines.h:409
Common Vulkan code header.