Emilio Cobos Álvarez 47bd61fc35 Bug 1865955 - Make sure that the compositor and the main thread start time match. r=birtles
The regressing bug made a crucial mistake which is setting the
compositor animation ready time to the _current_ refresh driver time,
even though the main thread will use the _next_ refresh driver time to
do that.

That means that the compositor and main thread can be desynchronized by
one frame, which depending on the main thread workload can be a lot.

Differential Revision: https://phabricator.services.mozilla.com/D199614
2024-01-28 11:33:46 +00:00
..