Webrender: Add support for incremental updates of GpuStore

Created on 21 Oct 2016  路  2Comments  路  Source: servo/webrender

The GpuStore structures have some stubbed out methods to add support for incremental updates. Implementing this would be a big optimization for scroll / zoom frames, since we wouldn't need to copy over the entire arrays to the render thread. It will also be necessary to support this to render very long pages quickly, by only sending the structures across incrementally.

hard help wanted

All 2 comments

Idea: Bind the vertex texture as an FBO. Patch the vertex texture pixels with GL_POINTS. Means no use of tex_sub_image, and should pipeline well with the driver to avoid any stalls.

We now have the GpuCache, which supports incremental updates.

Was this page helpful?
0 / 5 - 0 ratings