Monado OpenXR Runtime
pacing_compositor Struct Reference
Collaboration diagram for pacing_compositor:

Data Fields

struct u_pacing_compositor base
 
int64_t present_to_display_offset_ns
 Very often the present time that we get from the system is only when the display engine starts scanning out from the buffers we provided, and not when the pixels turned into photons that the user sees. More...
 
int64_t frame_period_ns
 Frame period of the device. More...
 
int64_t comp_time_ns
 The amount of time that the compositor needs to render frame. More...
 
int64_t next_frame_id
 Used to generate frame IDs. More...
 
int64_t comp_time_max_ns
 The maximum amount we give to the compositor. More...
 
int64_t adjust_missed_ns
 If we missed a frame, back off this much. More...
 
int64_t adjust_non_miss_ns
 Adjustment of time if we didn't miss the frame, also used as range to stay around timing target. More...
 
int64_t margin_ns
 Extra time between end of draw time and when the present happens. More...
 
struct frame frames [16]
 Frame store. More...
 

Field Documentation

◆ adjust_missed_ns

int64_t pacing_compositor::adjust_missed_ns

If we missed a frame, back off this much.

◆ adjust_non_miss_ns

int64_t pacing_compositor::adjust_non_miss_ns

Adjustment of time if we didn't miss the frame, also used as range to stay around timing target.

◆ comp_time_max_ns

int64_t pacing_compositor::comp_time_max_ns

The maximum amount we give to the compositor.

◆ comp_time_ns

int64_t pacing_compositor::comp_time_ns

The amount of time that the compositor needs to render frame.

◆ frame_period_ns

int64_t pacing_compositor::frame_period_ns

Frame period of the device.

◆ frames

struct frame pacing_compositor::frames[16]

Frame store.

◆ margin_ns

int64_t pacing_compositor::margin_ns

Extra time between end of draw time and when the present happens.

◆ next_frame_id

int64_t pacing_compositor::next_frame_id

Used to generate frame IDs.

Referenced by create_frame(), and get_latest_frame_with_state_at_least().

◆ present_to_display_offset_ns

int64_t pacing_compositor::present_to_display_offset_ns

Very often the present time that we get from the system is only when the display engine starts scanning out from the buffers we provided, and not when the pixels turned into photons that the user sees.


The documentation for this struct was generated from the following file: