|
Monado OpenXR Runtime
|
A very simple pacer that tries it best to pace a compositor. More...

Data Fields | |
| struct u_pacing_compositor | base |
| int64_t | frame_period_ns |
| The periodicity of the display. | |
| int64_t | last_present_time_ns |
| When the last frame was presented, not displayed. | |
| struct u_var_draggable_f32 | present_to_display_offset_ms |
| The present time we use in Monado is when the pixels of the active area start scanning out. | |
| int64_t | comp_time_ns |
| The amount of time that the application needs to render frame. | |
| int64_t | frame_id_generator |
| This won't run out, trust me. | |
| struct frame | frames [8] |
| Frames we keep track off. | |
| struct u_live_stats_ns cpu draw submit gpu gpu_delay | total_frame |
| Live stats we keep track off. | |
A very simple pacer that tries it best to pace a compositor.
Used when the compositor can't get any good or limited feedback from the presentation engine about timing.
| int64_t fake_timing::comp_time_ns |
The amount of time that the application needs to render frame.
Referenced by u_pc_fake_create().
| int64_t fake_timing::frame_id_generator |
This won't run out, trust me.
| int64_t fake_timing::frame_period_ns |
The periodicity of the display.
Referenced by u_pc_fake_create().
| struct frame fake_timing::frames[8] |
Frames we keep track off.
| int64_t fake_timing::last_present_time_ns |
When the last frame was presented, not displayed.
Referenced by u_pc_fake_create().
| struct u_var_draggable_f32 fake_timing::present_to_display_offset_ms |
The present time we use in Monado is when the pixels of the active area start scanning out.
However, that's not always when photons are emitted, this applies an offset so we predict when the photons are emitted to the user.
Referenced by u_pc_fake_create().
| struct u_live_stats_ns cpu draw submit gpu gpu_delay fake_timing::total_frame |
Live stats we keep track off.
Referenced by u_pc_fake_create().