The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

c/main: Internal comments

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2220>

authored by

Rylie Pavlik and committed by
Simon Zeni
a07bfba3 342fab6b

+3
+3
src/xrt/compositor/main/comp_renderer.c
··· 161 161 bool used; 162 162 }; 163 163 164 + /// Holds an array of @ref comp_scratch_view_state to match the number of views 164 165 struct comp_render_scratch_state 165 166 { 166 167 struct comp_scratch_view_state views[2]; ··· 173 174 * 174 175 */ 175 176 177 + /// Zeroes the object pointed to by @p crss then populates it with the image indices. 176 178 static void 177 179 scratch_get_init(struct comp_render_scratch_state *crss, struct comp_renderer *r, uint32_t view_count) 178 180 { ··· 184 186 } 185 187 } 186 188 189 + /// Calls done or discard on each view in @p crss, depending on whether "used" is set. 187 190 static void 188 191 scratch_get_fini(struct comp_render_scratch_state *crss, struct comp_renderer *r, uint32_t view_count) 189 192 {