Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow picture caching to work across scenes (display lists). #3359

Merged
merged 2 commits into from Nov 28, 2018

Commits on Nov 27, 2018

  1. Allow picture caching to work across scenes (display lists).

    This patch hooks up the primitive interning work with the tile
    caching work.
    
    Since we have a uid that guarantees uniqueness of the content of
    primitives and clip nodes, we can use that to construct a
    (reasonably) efficient hash key for the content of a tile.
    
    Along with some additional information (such as the state of the
    transforms used by the tile), we can construct a hash key for
    the content of a tile that is stable across new display lists,
    even if the shape of the clip-scroll tree changes in ways that
    don't affect the tile.
    
    This patch takes advantage of that to retain tiles when a new
    scene is built, where the content of a tile would result in
    the same output.
    gw3583 committed Nov 27, 2018
  2. Address review comments

    gw3583 committed Nov 27, 2018
You can’t perform that action at this time.