This is a stress-test demo, but what you should take away from it is that CSS Custom Paint is going to be SUPER SMOOTH on *LOW END* devices this year.
Move programmatic animations to it if you can!
/cc @sarah_edohttps://twitter.com/flackrw/status/1225098733752328192 …
-
-
Still in the content process but on the compositor thread. This is the thread responsible for raster and compositing. Blink leverages it to do smooth scrolling and animations where possible & avoid slow main thread. It now can run paint worklets too.https://developers.google.com/web/updates/2018/09/inside-browser-part3#raster_and_composite_off_of_the_main_thread …
-
Technically, it's running on a separate "worklet" thread shared by all worklets running work for the compositor (paint worklet + animation worklet). We don't run on the compositor thread because we want to draw scrolling / anim frames even if those scripts are taking a long time.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.