[Webkit-unassigned] [Bug 229399] Composited & non-composited animation iterations are unsynced

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 5 10:23:25 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=229399

--- Comment #9 from Antoine Quint <graouts at webkit.org> ---
Another thing I'd like to mention about software vs. accelerated animations is that there's also some kind of a third in-between mode. There are cases where we don't know how to delegate a transform animation to Core Animation (for various reasons, some being feature incompatibilities between Core Animation and Web Animations, some being work being required on WebKit's part). When that happens, we run the "transform" animation by updating the page rendering and resolving styles at 60fps. However, where that animation will differ from animating a purely software-implemented property, such as "margin-left" for instance, is that we know how to map a CSS transform onto a Core Animation layer property. This means that while we do resolve styles, the CSS update itself may not trigger a possibly-expensive layout, but instead updates a property on a CALayer. So while performance is guaranteed to be better for animations delegated to Core Animation, running a "transform" animation in software is still going to be more efficient than animating other types of CSS properties.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220205/0053fc97/attachment.htm>


More information about the webkit-unassigned mailing list