35 uint32_t base_array_layer;
36 VkAccessFlags aspect_mask;
50 VkAccessFlags access_mask;
51 VkPipelineStageFlags stage_mask;
89 VkImageLayout old_layout;
90 VkAccessFlags src_access_mask;
99 VkImageLayout old_layout;
100 VkAccessFlags src_access_mask;
123XRT_CHECK_RESULT VkResult
135XRT_CHECK_RESULT VkResult
138 VkCommandBufferUsageFlags
flags,
139 VkCommandBuffer *out_cmd_buffer);
152XRT_CHECK_RESULT VkResult
175XRT_CHECK_RESULT VkResult
179 VkCommandBuffer cmd_buffer);
201 VkCommandBuffer cmd_buffer,
216 VkCommandBuffer cmd_buffer,
231 VkCommandBuffer cmd_buffer,
247 VkCommandBuffer cmd_buffer,
void vk_cmd_resolve_image_locked(struct vk_bundle *vk, VkCommandBuffer cmd_buffer, const struct vk_cmd_image_transfer_info *info)
Performs a resolve of a image into a destination image, also does needed barrier operation needed to ...
Definition vk_cmd.c:383
XRT_CHECK_RESULT VkResult vk_cmd_submit_locked(struct vk_bundle *vk, struct vk_bundle_queue *queue, 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_end_submit_wait_and_free_cmd_buffer_locked(struct vk_bundle *vk, struct vk_bundle_queue *queue, 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:98
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:488
void vk_cmd_blit_image_locked(struct vk_bundle *vk, VkCommandBuffer cmd_buffer, const struct vk_cmd_image_transfer_info *info)
Performs a blit of a image into a destination image, also does needed barrier operation needed to get...
Definition vk_cmd.c:281
void vk_cmd_copy_image_locked(struct vk_bundle *vk, VkCommandBuffer cmd_buffer, const struct vk_cmd_image_transfer_info *info)
Performs a copy of a image into a destination image, also does needed barrier operation needed to get...
Definition vk_cmd.c:176
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
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 vk_helpers.h:62
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:48
Argument struct for vk_cmd_blit_images_side_by_side_locked.
Definition vk_cmd.h:84
VkPipelineStageFlags src_stage_mask
Depends on preceding compositor stage.
Definition vk_cmd.h:92
struct vk_cmd_blit_images_side_by_side_info::@71 src[2]
One each for left and right eyes/views.
A similar struct to VkImageSubresourceRange and VkImageSubresourceLayers expect for this it's implied...
Definition vk_cmd.h:34
Argument struct for vk_cmd_blit_image_locked and vk_cmd_copy_image_locked.
Definition vk_cmd.h:63
Image rectangle.
Definition xrt_defines.h:457
Image size.
Definition xrt_defines.h:436
Common Vulkan code header.