Skip to content

clutter/frame-clock: Fix handling of equal next_presentation_time_us

This can happen with the native backend if the previous frame clock dispatch didn't result in any KMS update, e.g. because it was triggered by an input event, but the HW cursor didn't need updating on the stage view. (This is likely to happen on some out of multiple stage views, but might be possible even with a single stage view if the cursor isn't visible)

We would previously delay next_presentation_time_us by one refresh interval in this case, which could result in spuriously leaving one refresh cycle unused.

Merge request reports