[Webkit-unassigned] [Bug 219751] Efficient low frequency animations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 10 23:06:01 PST 2020


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

--- Comment #2 from Jake Archibald <jaffathecake at gmail.com> ---
Yeah, I think we need that too. I made some notes here https://github.com/whatwg/html/issues/5025 - seems important to allow multiple animations to exist on the same reduced frame rate timeline. I know you've thought about this more than me though, any API ideas?

However, I think the unoptimised cases in this test are still worth fixing.

Discrete - although a fixed frame rate would work here, it's already expressed in the animation keyframes.

Mostly same values - this can't be fixed by a reduced frame rate. I've used this style of animation for a "recording" indicator. Like, a red circle that briefly fades from opacity 0.6 to 1, then back to 0.6, then stays at 0.6 for a few seconds. The fading should be high frequency, but the browser shouldn't run a high frequency timer while values aren't changing.

Empty animation - this is an alternative to setTimeout but works with the document timeline timer, and doesn't tick when the document is hidden. I guess you could define this as a 0fps animation? But again this can be inferred.

-- 
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/20201211/64614475/attachment.htm>


More information about the webkit-unassigned mailing list