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

picture: Only collect clip nodes for raster roots, not all surfaces. #3480

Merged
merged 1 commit into from
Jan 7, 2019

Conversation

emilio
Copy link
Member

@emilio emilio commented Jan 7, 2019

This is effectively a revert of 47242e1.

The assumption that patch introduces does just not hold for fixed-pos clips,
unless we introduce more complexity to turn them into their own spatial nodes of
course.

Per https://bugzilla.mozilla.org/show_bug.cgi?id=1501111#c11 this is no longer
needed for picture caching, so let's use the clip node collectors when the
assumption they use hold (which is when the picture is a raster root, since
raster roots are reference frames, and reference frames are a containing block
for fixed-pos elements).

This fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1501111.


This change is Reviewable

This is effectively a revert of 47242e1.

The assumption that patch introduces does just not hold for fixed-pos clips,
unless we introduce more complexity to turn them into their own spatial nodes of
course.

Per https://bugzilla.mozilla.org/show_bug.cgi?id=1501111#c11 this is no longer
needed for picture caching, so let's use the clip node collectors when the
assumption they use hold (which is when the picture is a raster root, since
raster roots are reference frames, and reference frames are a containing block
for fixed-pos elements).

This fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1501111.
@emilio emilio requested a review from gw3583 January 7, 2019 19:14
@emilio
Copy link
Member Author

emilio commented Jan 7, 2019

@emilio
Copy link
Member Author

emilio commented Jan 7, 2019

r? @gw3583 or @kvark

@gw3583
Copy link
Contributor

gw3583 commented Jan 7, 2019

The try run seems to be missing some of the usual configs? But maybe they are not relevant in this case?

The change looks good to me.

@emilio
Copy link
Member Author

emilio commented Jan 7, 2019

@bors-servo r=gw3583

@bors-servo
Copy link
Contributor

📌 Commit eeabfae has been approved by gw3583

bors-servo pushed a commit that referenced this pull request Jan 7, 2019
picture: Only collect clip nodes for raster roots, not all surfaces.

This is effectively a revert of 47242e1.

The assumption that patch introduces does just not hold for fixed-pos clips,
unless we introduce more complexity to turn them into their own spatial nodes of
course.

Per https://bugzilla.mozilla.org/show_bug.cgi?id=1501111#c11 this is no longer
needed for picture caching, so let's use the clip node collectors when the
assumption they use hold (which is when the picture is a raster root, since
raster roots are reference frames, and reference frames are a containing block
for fixed-pos elements).

This fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1501111.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/3480)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

⌛ Testing commit eeabfae with merge cce6276...

@bors-servo
Copy link
Contributor

☀️ Test successful - status-appveyor, status-taskcluster
Approved by: gw3583
Pushing cce6276 to master...

@bors-servo bors-servo merged commit eeabfae into servo:master Jan 7, 2019
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jan 8, 2019
…f10d26aef892 (WR PR #3480). r=kats

servo/webrender#3480

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

--HG--
extra : moz-landing-system : lando
mykmelez pushed a commit to mykmelez/gecko that referenced this pull request Jan 8, 2019
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 3, 2019
…f10d26aef892 (WR PR #3480). r=kats

servo/webrender#3480

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

UltraBlame original commit: d77ee4b960ad795291b03507d9b0edb30f77d6eb
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 3, 2019
…f10d26aef892 (WR PR #3480). r=kats

servo/webrender#3480

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

UltraBlame original commit: d77ee4b960ad795291b03507d9b0edb30f77d6eb
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 3, 2019
…f10d26aef892 (WR PR #3480). r=kats

servo/webrender#3480

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

UltraBlame original commit: d77ee4b960ad795291b03507d9b0edb30f77d6eb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants