mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
82cdf90a71
The new CLUTTER_FRAME_CLOCK_STATE_SCHEDULED_NOW state is almost identical to CLUTTER_FRAME_CLOCK_STATE_SCHEDULED, with one important difference being that it avoids updates from being repeatedly rescheduled "now" when multiple calls to clutter_frame_clock_schedule_update_now() are done before the source is actually dispatched. Such repeated calls to schedule an update "now" may actually postpone the dispatch if the CPU is very busy and the source dispatch is delayed, defeating the purpose of scheduling a frame "now". It also allows rescheduling "now" when the frame clock is uninhibited after being inhibited while an update was scheduled "now". This may be important in cases where the frame clock is inhibited for very short periods in which it would otherwise lose the state of being scheduled "now". Scenarios such as this would become more common with the introduction of variable refresh rate since it makes scheduling "now" a commonplace occurrence. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3561> |
||
---|---|---|
.. | ||
data | ||
man | ||
reference | ||
website | ||
building-and-running.md | ||
clutter-frame-scheduling.md | ||
clutter-rendering-model.md | ||
code-overview.md | ||
coding-style.md | ||
debugging.md | ||
git-conventions.md | ||
monitor-configuration.md | ||
mutter-constraints.txt | ||
mutter-focus.txt | ||
mutter-kms-abstractions.md | ||
mutter-relationships.md |