Skip to content

clutter/frame-clock: Simplify next_presentation_time_us calculation

Robert Mader requested to merge rmader/mutter:mr3174-splitout into main

When more than one refresh interval has passed since last_presentation_time_us.

I honestly can't tell if the previous calculation was correct or not, but I'm confident the new one is, and it's simpler.

v2:

  • ASCII art diagram didn't make sense anymore, try to improve (Ivan Molodetskikh)

Split out from !3174 (merged), see !3174 (comment 1871910)

Edited by Robert Mader

Merge request reports

Loading