Monado OpenXR Runtime
u_pc_display_timing_config Struct Reference

Configuration for the "display-timing-aware" implementation of u_pacing_compositor. More...

#include <util/u_pacing.h>

Collaboration diagram for u_pc_display_timing_config:

Data Fields

uint64_t present_to_display_offset_ns
 How long after "present" is the image actually displayed. More...
 
uint64_t margin_ns
 Extra margin that is added to compositor time, between end of draw and present. More...
 
Frame-Relative Values

All these values are in "percentage points of the nominal frame period" so they can work across devices of varying refresh rate/display interval.

uint32_t comp_time_fraction
 The initial estimate of how much time the compositor needs. More...
 
uint32_t comp_time_max_fraction
 The maximum time we allow to the compositor. More...
 
uint32_t adjust_missed_fraction
 When missing a frame, back off in these increments. More...
 
uint32_t adjust_non_miss_fraction
 When not missing frames but adjusting app time at these increments. More...
 

Detailed Description

Configuration for the "display-timing-aware" implementation of u_pacing_compositor.

See also
u_pc_display_timing_create

Field Documentation

◆ adjust_missed_fraction

uint32_t u_pc_display_timing_config::adjust_missed_fraction

When missing a frame, back off in these increments.

◆ adjust_non_miss_fraction

uint32_t u_pc_display_timing_config::adjust_non_miss_fraction

When not missing frames but adjusting app time at these increments.

◆ comp_time_fraction

uint32_t u_pc_display_timing_config::comp_time_fraction

The initial estimate of how much time the compositor needs.

◆ comp_time_max_fraction

uint32_t u_pc_display_timing_config::comp_time_max_fraction

The maximum time we allow to the compositor.

◆ margin_ns

uint64_t u_pc_display_timing_config::margin_ns

Extra margin that is added to compositor time, between end of draw and present.

◆ present_to_display_offset_ns

uint64_t u_pc_display_timing_config::present_to_display_offset_ns

How long after "present" is the image actually displayed.


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