Gecko:OffMainThreadPainting: Difference between revisions

m
 
Line 17: Line 17:
The painting thread could use worker threads for the actual rasterization pass, so that we can have multiple paints being done in parallel.
The painting thread could use worker threads for the actual rasterization pass, so that we can have multiple paints being done in parallel.


We can also start retaining the display item list on the painting thread. This, once it is integrated with async scrolling (AZPC) would let us rasterize new content during content without accessing the main-thread. We could build a layer tree for the entire page, but only rasterize content that falls within the prerendered viewport. When async scrolling attempts to scroll outside of the prerendered area, we would notify the painting thread of the new desired prerendered area and rasterize it.
We can also start retaining the display item list on the painting thread. This, once it is integrated with async scrolling (APZC) would let us rasterize new content during content without accessing the main-thread. We could build a layer tree for the entire page, but only rasterize content that falls within the prerendered viewport. When async scrolling attempts to scroll outside of the prerendered area, we would notify the painting thread of the new desired prerendered area and rasterize it.


=Alternatives=
=Alternatives=
Confirmed users
586

edits