nitter
L. David Baron @dbaron@w3c.social
@davidbaron
17 Sep 2015
New blog post: Running animations on the compositor thread:
dbaron.org/log/20150916-comp…
Sep 17, 2015 · 12:30 AM UTC
3
8
6
dave
@dmvaldman
17 Sep 2015
Replying to
@davidbaron
@davidbaron
is this only for CSS3 keyframe animations, or also for manual JS animation outputted to CSS transforms per frame
1
L. David Baron @dbaron@w3c.social
@davidbaron
17 Sep 2015
@dmvaldman
It applies to CSS animations and CSS transitions, but anything with per-frame JS depends on the main thread.
1
Tobi Reif
@TobiReif
17 Sep 2015
Replying to
@davidbaron
@davidbaron
Is there also room for perf improvement regarding this? JS rAF animation -> SVG attributes (eg "transform"-attribute).
1
L. David Baron @dbaron@w3c.social
@davidbaron
17 Sep 2015
@TobiReif
Anything involving requestAnimationFrame depends on running that requestAnimationFrame on the main thread
1
more replies
Tobi Reif
@TobiReif
17 Sep 2015
Replying to
@davidbaron
@davidbaron
The demo animates HTML. Does the speed improvement also apply to SVG elements?
1
L. David Baron @dbaron@w3c.social
@davidbaron
17 Sep 2015
@TobiReif
I think it applies to SVG elements, but not to transform when the SVG transform attribute is involved.
1
more replies