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;
104 VkImageLayout old_layout;
105 VkAccessFlags src_access_mask;
106 VkPipelineStageFlags src_stage_mask;
112 VkImageLayout old_layout;
113 VkAccessFlags src_access_mask;
114 VkPipelineStageFlags src_stage_mask;
136XRT_CHECK_RESULT VkResult
148XRT_CHECK_RESULT VkResult
151 VkCommandBufferUsageFlags
flags,
152 VkCommandBuffer *out_cmd_buffer);
165XRT_CHECK_RESULT VkResult
187XRT_CHECK_RESULT VkResult
236 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:356
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:162
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:256
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:49
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
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.