|
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. | |
| 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. | |
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 chl_scratch::cssi, U_ZERO, and chl_scratch::view_count.
|
inlinestatic |
Zeros out the struct and calls get on all the images, setting the index field on the state for each view.
References chl_scratch::cssi, U_ZERO, and chl_scratch::view_count.