mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
d5f68c8140
A new variable scheduling mode is introduced which allows lower priority updates to be scheduled on a timeout which represents a lower refresh rate, while allowing high priority updates to be scheduled to occur as soon as possible. This mode will be used by following commits to implement synchronization of page flips to the update rate of specifc surface actors. High priorty updates are either scheduled to occur "now" if they arrive at a rate which is lower than the maximum refresh rate, or according to the measured maximum render time if they arrive at a rate which meets or exceeds the maximum refresh rate. This approach allows achieving low input latency in both scenarios. Seperate handling for low priority updates is needed to avoid visible stutter in the content of the surface that drives the refresh rate. An example for a low priority update is cursor movement when the KMS deadline timer is disabled. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1154> |
||
---|---|---|
.. | ||
clutter | ||
meson.build |