My thinking has changed on browser compositors a bit: they’re a necessary evil, but they should be treated as a power savings optimization (primarily when scrolling is involved), not as the way to get fast animations.
But on Windows, macOS, and Linux with Wayland subsurface support, you can save the OS a full window blit if you divide your page up into tiles or something and do partial presents. Basically this is because OS compositors are too simple to handle CSS in its full generality.
-
-
Or, another way to look at it: On typical OS’s you’ve got a compositor sitting there whether you want it or not. Might as well make the best use of it you can.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
What if WebRender was, roughly speaking, in the OS layer?
-
That’s what I was getting at with “in an OS where the browser had exclusive access to the GPU and display” :)
- 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.