Monado OpenXR Runtime
comp_render_helpers.h File Reference

Compositor rendering code helpers. More...

Include dependency graph for comp_render_helpers.h:

Go to the source code of this file.

Functions

static VkImageView get_image_view (const struct comp_swapchain_image *image, enum xrt_layer_composition_flags flags, uint32_t array_index)
 
static bool is_view_index_right (uint32_t view_index)
 
static void view_index_to_projection_data (uint32_t view_index, const struct xrt_layer_data *data, const struct xrt_layer_projection_view_data **out_vd)
 
static void view_index_to_depth_data (uint32_t view_index, const struct xrt_layer_data *data, const struct xrt_layer_projection_view_data **out_vd, const struct xrt_layer_depth_data **out_dvd)
 
static bool is_layer_view_visible (const struct xrt_layer_data *data, uint32_t view_index)
 
static bool is_layer_view_space (const struct xrt_layer_data *data)
 
static bool is_layer_unpremultiplied (const struct xrt_layer_data *data)
 
static void set_post_transform_rect (const struct xrt_layer_data *data, const struct xrt_normalized_rect *src_norm_rect, bool invert_flip, struct xrt_normalized_rect *out_norm_rect)
 
static void cmd_barrier_view_images (struct vk_bundle *vk, const struct comp_render_dispatch_data *d, VkCommandBuffer cmd, VkAccessFlags src_access_mask, VkAccessFlags dst_access_mask, VkImageLayout transition_from, VkImageLayout transition_to, VkPipelineStageFlags src_stage_mask, VkPipelineStageFlags dst_stage_mask)
 

Detailed Description

Compositor rendering code helpers.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m