clutter: Reduce default clutter_max_render_time_constant_us to 1000
Now that dynamic max render time uses a new algorithm and takes dispatch lateness into account, this seems worth a shot. We'll see how it works out in the wild. The net result compared to before these changes is still slightly higher (by ~0.5 ms) minimum latency for me, as measured by weston-presentation-shm. It should be less vulnerable to frame drops though. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2500>
This commit is contained in:
parent
ca341ef1ea
commit
a16df485db
@ -93,7 +93,7 @@ guint clutter_pick_debug_flags = 0;
|
||||
/* A constant added to heuristic max render time to account for variations
|
||||
* in the estimates.
|
||||
*/
|
||||
int clutter_max_render_time_constant_us = 2000;
|
||||
int clutter_max_render_time_constant_us = 1000;
|
||||
|
||||
#ifdef CLUTTER_ENABLE_DEBUG
|
||||
static const GDebugKey clutter_debug_keys[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user