NEW 218016
Accelerated animations should use the same start time as software animations
https://bugs.webkit.org/show_bug.cgi?id=218016
Summary Accelerated animations should use the same start time as software animations
Antoine Quint
Reported 2020-10-21 05:45:03 PDT
Right now accelerated animations share a start time for a given transaction, and software animations share a start time for a given rendering update, but there's no guarantee that those shared start times are the same for accelerated and software animations started as a result of the same rendering update.
Attachments
Radar WebKit Bug Importer
Comment 1 2020-10-21 05:45:28 PDT
Antoine Quint
Comment 2 2020-10-21 05:48:00 PDT
One way to fix this would be to use the time used by accelerated animations as obtained through GraphicsLayerCA::platformCALayerAnimationStarted() and feed that back to the software animations.
Antoine Quint
Comment 3 2020-10-21 05:50:44 PDT
We should also consider not using the animation begin time to bake the time offset in, and instead use nested animations with groups to use the timeOffset property of the CA animation. This way we won't need to hard set a beginTime for animations with an offset in GraphicsLayerCA::updateAnimations().
Note You need to log in before you can comment on or make changes to this bug.