Monado OpenXR Runtime
|
Used to track the index of images gotten for the images, and if it has been used. More...
#include <util/comp_high_level_scratch.h>
Static Public Member Functions | |
static void | chl_scratch_state_init_and_get (struct chl_scratch_state *scratch_state, struct chl_scratch *scratch) |
Zeros out the struct and calls get on all the images, setting the index field on the state for each view. More... | |
static void | chl_scratch_state_discard_or_done (struct chl_scratch_state *scratch_state, struct chl_scratch *scratch) |
Calls discard or done on all the scratch images, it calls done if the used field is set to true. More... | |
Data Fields | |
struct chl_scratch_state_view | views [XRT_MAX_VIEWS] |
Used to track the index of images gotten for the images, and if it has been used.
The user will need to mark images as used.
|
inlinestatic |
Calls discard or done on all the scratch images, it calls done if the used
field is set to true.
References comp_scratch_single_images::comp_scratch_single_images_discard(), comp_scratch_single_images::comp_scratch_single_images_done(), chl_scratch::cssi, U_ZERO, and chl_scratch::view_count.
Referenced by chl_frame_state::chl_frame_state_fini().
|
inlinestatic |
Zeros out the struct and calls get on all the images, setting the index
field on the state for each view.
References comp_scratch_single_images::comp_scratch_single_images_get(), chl_scratch::cssi, U_ZERO, and chl_scratch::view_count.
Referenced by chl_frame_state::chl_frame_state_init().