|
Monado OpenXR Runtime
|
The input data needed for a complete layer squashing distortion rendering to a target. More...
#include <util/comp_render.h>

Data Fields | |
| struct comp_render_view_data | views [XRT_MAX_VIEWS] |
| uint32_t | squash_view_count |
| The number of squash 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 { | |
| bool initialized | |
| Has this struct been setup to use the target. More... | |
| uint32_t view_count | |
| The number of target views currently, when calling dispatch this has to be either zero or the same number as squash_view_count, see also the target.initialized field. 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 image | |
| Target image for distortion, used for barrier. More... | |
| VkImageView storage_view | |
| Target image view for distortion. More... | |
| } cs | |
| Members used only by CS Comp_render_cs. More... | |
| } | target |
The input data needed for a complete layer squashing distortion rendering to a target.
This struct is shared between GFX and CS paths.
| struct { ... } comp_render_dispatch_data::cs |
Members used only by CS Comp_render_cs.
| bool comp_render_dispatch_data::do_timewarp |
Very often true, can be disabled for debugging.
Referenced by comp_render_cs_layers().
| bool comp_render_dispatch_data::fast_path |
Fast path can be disabled for mirroing so needs to be an argument.
| struct { ... } comp_render_dispatch_data::gfx |
Members used only by GFX Comp_render_gfx.
| VkImage comp_render_dispatch_data::image |
Target image for distortion, used for barrier.
| bool comp_render_dispatch_data::initialized |
Has this struct been setup to use the target.
Referenced by comp_render_cs_dispatch(), and comp_render_gfx_dispatch().
| struct render_gfx_target_resources* comp_render_dispatch_data::rtr |
The resources needed for the target.
| uint32_t comp_render_dispatch_data::squash_view_count |
The number of squash views currently in this dispatch data.
Referenced by comp_render_cs_layers().
| VkImageView comp_render_dispatch_data::storage_view |
Target image view for distortion.
| uint32_t comp_render_dispatch_data::view_count |
The number of target views currently, when calling dispatch this has to be either zero or the same number as squash_view_count, see also the target.initialized field.
Referenced by crc_distortion_after_squash(), crg_distortion_after_squash(), and crg_distortion_common().