Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSync changes from mozilla-central gfx/wr #3999
Merged
Conversation
Previously, tile cache instances were destroyed and recreated each time a new scene was created, as they were embedded inside the picture primitives. An elaborate but complicated system was used to retain important state (such as native surfaces, primitive dependencies) across new scenes. This patch moves the tile cache instances to be stored inside the render backend. It removes the previous code for retaining state for each tile cache. Instead, tile caches are created / reused / destroyed during `new_async_scene_ready`. This removes quite a bit of complexity. More importantly, it is another step towards being able to cache and retain state such as primitive tile assignments and visibility state across both new frames and scenes. Differential Revision: https://phabricator.services.mozilla.com/D81487 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/123557e8dd5e604bfb885d78912096006bae3600
|
@bors-servo r=auto |
|
|
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
moz-gfx commentedJun 30, 2020
No description provided.