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 #4006

Merged
merged 2 commits into from Jul 6, 2020
Merged

Conversation

@moz-gfx
Copy link

moz-gfx commented Jul 6, 2020

No description provided.

Glenn Watson added 2 commits Jul 6, 2020
…=nical

Previously, we would defer calculation of whether a filter was a
no-op until frame building. However, this complicates decisions
related to which clips apply to which surfaces.

Now, this decision is made during scene building. This makes things
more consistent during frame building, which we can take advantage
of in future. It also makes things like render target allocations
slightly more predictable.

Differential Revision: https://phabricator.services.mozilla.com/D82133

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/fd9bbd6162d2314b58f8a163d67efebdbb52b06a
Even when picture caching is disabled, we want to create the
wrapping picture elements for these slices, to simplify
some upcoming patches (we can assume that the picture cache
elements are always present).

The dynamic check at the start of FrameBuilder::build ensures
that these are pass-through pictures when picture caching is
disabled.

In future, we'll also take advantage of this to track dirty
regions in the disabled case, to allow partial present to
work in all scenarios.

Differential Revision: https://phabricator.services.mozilla.com/D82134

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/c87a20a004c4f6de9c1e50cb9692851ed1d78519
@moz-gfx
Copy link
Author

moz-gfx commented Jul 6, 2020

@bors-servo r=auto

@bors-servo
Copy link
Contributor

bors-servo commented Jul 6, 2020

📌 Commit a4d6bf4 has been approved by auto

@bors-servo
Copy link
Contributor

bors-servo commented Jul 6, 2020

Testing commit a4d6bf4 with merge 8b663b2...

@bors-servo
Copy link
Contributor

bors-servo commented Jul 6, 2020

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

@bors-servo bors-servo merged commit 8b663b2 into servo:master Jul 6, 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

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