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

Sync changes from mozilla-central gfx/wr #3987

Merged
merged 3 commits into from Jun 17, 2020
Merged

Conversation

@moz-gfx
Copy link

moz-gfx commented Jun 17, 2020

No description provided.

nical and others added 3 commits Jun 17, 2020
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
@moz-gfx
Copy link
Author

moz-gfx commented Jun 17, 2020

@bors-servo r=auto

@bors-servo
Copy link
Contributor

bors-servo commented Jun 17, 2020

📌 Commit c33728d has been approved by auto

@bors-servo
Copy link
Contributor

bors-servo commented Jun 17, 2020

Testing commit c33728d with merge 8eaa918...

@bors-servo
Copy link
Contributor

bors-servo commented Jun 17, 2020

☀️ Test successful - status-taskcluster
Approved by: auto
Pushing 8eaa918 to master...

@bors-servo bors-servo merged commit 8eaa918 into servo:master Jun 17, 2020
2 checks passed
2 checks passed
Community-TC (pull_request) TaskGroup: success
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.