···55SPDX-License-Identifier: BSL-1.0
66-->
7788-98A "brief" overview of the various time-points that a frame goes through, from
109when the application gets go ahead to render the frame to when pixels are turned
1110into photons. This only a single frame, where all of the timings are hit and the
···2827* During the vblank period the display lights up turning the pixels into
2928 photons. We refer to this time as **display**, same as in OpenXR.
30293131-3230The names for timepoints are chosen to align with the naming in
3331[`VK_GOOGLE_display_timing`][], reading that extension can provide further
3432information.
35333636-3734## Main compositor perspective
38353939- * @ref xrt_comp_wait_frame - It is within this function that the frame timing is
4040- predicted, see @ref u_frame_timing_predict. The compositor will then wait to
4141- **waku_up** time and then return from this function.
4242- * @ref xrt_comp_begin_frame - The app or IPC server calls this function when it
4343- is done with CPU work and ready to do GPU work.
4444- * @ref xrt_comp_discard_frame - The frame is discarded.
4545- * @ref xrt_comp_layer_begin - Called during transfers of layers.
4646- * @ref xrt_comp_layer_stereo_projection - This and other layer functions are
4747- called to list the layers the compositor should render.
4848- * @ref xrt_comp_layer_commit - The compositor starts to render the frame,
4949- trying to hit the **present** time.
5050-3636+* @ref xrt_comp_wait_frame - It is within this function that the frame timing is
3737+ predicted, see @ref u_rt_predict. The compositor will then wait to
3838+ **wake_up** time and then return from this function.
3939+* @ref xrt_comp_begin_frame - The app or IPC server calls this function when it
4040+ is done with CPU work and ready to do GPU work.
4141+* @ref xrt_comp_discard_frame - The frame is discarded.
4242+* @ref xrt_comp_layer_begin - Called during transfers of layers.
4343+* @ref xrt_comp_layer_stereo_projection - This and other layer functions are
4444+ called to list the layers the compositor should render.
4545+* @ref xrt_comp_layer_commit - The compositor starts to render the frame,
4646+ trying to hit the **present** time.
51475248[`VK_GOOGLE_display_timing`]: https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_GOOGLE_display_timing.html