···2929 *
3030 */
31313232+DEBUG_GET_ONCE_FLOAT_OPTION(present_to_display_offset_ms, "U_PACING_COMP_PRESENT_TO_DISPLAY_OFFSET_MS", 4.0f)
3233DEBUG_GET_ONCE_FLOAT_OPTION(min_comp_time_ms, "U_PACING_COMP_MIN_TIME_MS", 3.0f)
33343435/*!
···275276 // To make sure the code can start from a non-zero frame id.
276277 ft->frame_id_generator = 5;
277278279279+ // An arbitrary guess, that happens to be based on Index.
280280+ float present_to_display_offset_ms = debug_get_float_option_present_to_display_offset_ms();
281281+278282 // Present to display offset, aka vblank to pixel turning into photons.
279283 ft->present_to_display_offset_ms = (struct u_var_draggable_f32){
280280- .val = 4.0, // An arbitrary guess, that happens to be based on Index.
284284+ .val = present_to_display_offset_ms,
281285 .min = 1.0, // A lot of things assumes this is not negative.
282286 .step = 0.1,
283287 .max = +40.0,