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 #3947
Merged
Conversation
Building on the work in parts 1 and 2, the Push/PopClipChain display items are no longer required. Instead, we can use the clip chain builder to push the clip from any redundant stacking contexts onto the clip stack. This ensures that primitives within the redundant stacking context will get that clip applied to the primitive. This also relies on being able to determine if a stacking context is redundant during push_stacking_context. Previously this was not feasible due to mix-blend-mode changing the isolation mode of parent stacking context. However, this is now known due to recent work to support blend containers. This patch doesn't contain functional changes, but should be a slight performance improvement during both scene building and frame building. It also simplifies a lot of the clip handling code related to picture caching, opening up some more optimization opportunities in future. Differential Revision: https://phabricator.services.mozilla.com/D74583 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/b918fa03b3d9b1f14e0da9cee5f0fc152d60ebbb
|
@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 commentedMay 12, 2020
No description provided.