Re:The web at maximum FPS: How WebRender gets rid of jank
by pcwalton on Wednesday October 11, 2017 @01:20PM
(#15451401)
A compositor is already repainting the whole window on the GPU. WR doesn't change anything here.
[ Parent
| on HN ]
Re:The web at maximum FPS: How WebRender gets rid of jank
by nicalsilva on Wednesday October 11, 2017 @05:31PM
(#15453668)
Actually, Gecko's compositor knows the screen space invalid region and scissors out the rest when compositing. The invalid region is passed to the window manager. Chromium also does that although they settle for an invalid rect instead of region which is fair. There is an issue on file to do the same with webrender.
Re:The web at maximum FPS: How WebRender gets rid of jank
by Dylan16807 on Wednesday October 11, 2017 @03:56PM
(#15452882)
In this use case the "painting" a compositor does from layers is copying one big rectangle. That takes next to zero time. That's not at all similar to "painting" where you actually re-render the entire visible portion of the page.
Re:The web at maximum FPS: How WebRender gets rid of jank
by pcwalton on Wednesday October 11, 2017 @04:07PM
(#15452987)
> That's not at all similar to "painting" where you actually re-render the entire visible portion of the page.
Why not?
Painting a page is mostly just copying pixels from textures too.
Re:The web at maximum FPS: How WebRender gets rid of jank
by Dylan16807 on Wednesday October 11, 2017 @06:34PM
(#15454140)
You don't see a notable difference between [tens of] thousands of glyphs and bits being layered on top of each other and processed through a display list, versus copying over one single rectangle from A to B?