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 #3987
Merged
Conversation
An alternative patch to take only if we don't land https://phabricator.services.mozilla.com/D79545 The main observations here are: - In the vast majority of times we find a compatible bacth or intersect an incompatible one within 3 iterations when looking for batch candidates. - In addition, most of the time we don't need to iterate per-item rects thanks to a fast path kleveraging per-batch bounding rects, making it reasonably cheap to iterate over more batches. This gives us room to allow ourselves to visit a lot more batches without a large impact on CPU time (under the assumption that removing a handful of draw calls will more than make up for the extra iterations). Depends on D79479 Differential Revision: https://phabricator.services.mozilla.com/D79794 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/149ca53d3549df2e8e6ad1a3b8985d549095b5f3
This vector is usually small, but on some pages it can be fairly large (500+ in https://forum.xda-developers.com/redmi-note-3/development for example). Differential Revision: https://phabricator.services.mozilla.com/D79855 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/217914372d03fefa9da57b87d646dff54df351ea
…s. CLOSED TREE [ghsync] From https://hg.mozilla.org/mozilla-central/rev/a184a8ccba8b70900a24b3189570ee167ba957b3
|
@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 17, 2020
No description provided.