|
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. | ||
| bool | fast_path | |
| Fast path can be disabled for mirroing so needs to be an argument. | ||
| bool | do_timewarp | |
| Very often true, can be disabled for debugging. | ||
| 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.
Referenced by crc_distortion_after_squash(), and crc_distortion_fast_path().
| bool comp_render_dispatch_data::do_timewarp |
Very often true, can be disabled for debugging.
Referenced by comp_render_cs_layers(), crc_distortion_after_squash(), crc_distortion_fast_path(), and crg_distortion_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.
Referenced by crg_distortion_common().
| VkImage comp_render_dispatch_data::image |
Target image for distortion, used for barrier.
Referenced by crc_distortion_after_squash(), and crc_distortion_fast_path().
| 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.
Referenced by crg_distortion_common().
| uint32_t comp_render_dispatch_data::squash_view_count |
The number of squash views currently in this dispatch data.
Referenced by cmd_barrier_view_squash_images(), comp_render_cs_layers(), and comp_render_gfx_layers().
| VkImageView comp_render_dispatch_data::storage_view |
Target image view for distortion.
Referenced by crc_distortion_after_squash(), and crc_distortion_fast_path().
| 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 comp_render_cs_dispatch(), comp_render_gfx_dispatch(), crc_distortion_after_squash(), crc_distortion_fast_path(), crg_distortion_after_squash(), crg_distortion_common(), and crg_distortion_fast_path().