Monado OpenXR Runtime
comp_render_dispatch_data Struct Reference

The input data needed for a complete layer squashing distortion rendering to a target. More...

#include <util/comp_render.h>

Collaboration diagram for comp_render_dispatch_data:

Data Fields

struct comp_render_view_data views [XRT_MAX_VIEWS]
 
uint32_t view_count
 The number of views currently in this dispatch data. More...
 
bool fast_path
 Fast path can be disabled for mirroing so needs to be an argument. More...
 
bool do_timewarp
 Very often true, can be disabled for debugging. More...
 
struct {
   struct render_gfx_target_resources *   rtr
 The resources needed for the target. More...
 
gfx
 Members used only by GFX Comp_render_gfx. More...
 
struct {
   VkImage   target_image
 Target image for distortion, used for barrier. More...
 
   VkImageView   target_unorm_view
 Target image view for distortion. More...
 
cs
 Members used only by CS Comp_render_cs. More...
 

Detailed Description

The input data needed for a complete layer squashing distortion rendering to a target.

This struct is shared between GFX and CS paths.

Field Documentation

◆ 

struct { ... } comp_render_dispatch_data::cs

Members used only by CS Comp_render_cs.

◆ do_timewarp

bool comp_render_dispatch_data::do_timewarp

Very often true, can be disabled for debugging.

◆ fast_path

bool comp_render_dispatch_data::fast_path

Fast path can be disabled for mirroing so needs to be an argument.

Referenced by comp_render_cs_dispatch(), and comp_render_gfx_dispatch().

◆ 

struct { ... } comp_render_dispatch_data::gfx

Members used only by GFX Comp_render_gfx.

◆ rtr

struct render_gfx_target_resources* comp_render_dispatch_data::rtr

The resources needed for the target.

◆ target_image

VkImage comp_render_dispatch_data::target_image

Target image for distortion, used for barrier.

◆ target_unorm_view

VkImageView comp_render_dispatch_data::target_unorm_view

Target image view for distortion.

◆ view_count

uint32_t comp_render_dispatch_data::view_count

The number of views currently in this dispatch data.


The documentation for this struct was generated from the following file: