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

batch: Use the right clip rect for drop shadows. #3421

Merged
merged 1 commit into from Dec 17, 2018

Conversation

emilio
Copy link
Member

@emilio emilio commented Dec 14, 2018

We don't really want to translate the clip, and furthermore, the picture clip
rect for these pictures is always the max rect, so it's not really what we want.

https://searchfox.org/mozilla-central/rev/49e78df13e7a505827a3a86daae9efdf827133c6/gfx/wr/webrender/src/display_list_flattener.rs#1472

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


This change is Reviewable

We don't really want to translate the clip, and furthermore, the picture clip
rect for these pictures is always the max rect, so it's not really what we want.

  https://searchfox.org/mozilla-central/rev/49e78df13e7a505827a3a86daae9efdf827133c6/gfx/wr/webrender/src/display_list_flattener.rs#1472

This fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1496019
@emilio
Copy link
Member Author

emilio commented Dec 14, 2018

r? @kvark or @glennw

@emilio
Copy link
Member Author

emilio commented Dec 14, 2018

s/ @glennw / @gw3583 there :)

@emilio
Copy link
Member Author

emilio commented Dec 14, 2018

@emilio
Copy link
Member Author

emilio commented Dec 15, 2018

... which looks green, with an unexpected pass even.

@gw3583
Copy link
Contributor

gw3583 commented Dec 16, 2018

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit fbcfd98 has been approved by gw3583

@bors-servo
Copy link
Contributor

⌛ Testing commit fbcfd98 with merge a072261...

bors-servo pushed a commit that referenced this pull request Dec 17, 2018
batch: Use the right clip rect for drop shadows.

We don't really want to translate the clip, and furthermore, the picture clip
rect for these pictures is always the max rect, so it's not really what we want.

  https://searchfox.org/mozilla-central/rev/49e78df13e7a505827a3a86daae9efdf827133c6/gfx/wr/webrender/src/display_list_flattener.rs#1472

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

<!-- 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/3421)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

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

@bors-servo bors-servo merged commit fbcfd98 into servo:master Dec 17, 2018
@emilio emilio deleted the clip-shadows branch December 17, 2018 01:32
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Dec 17, 2018
…f1b9707f2d6c (WR PR #3421). r=kats

servo/webrender#3421

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

--HG--
extra : moz-landing-system : lando
mykmelez pushed a commit to mykmelez/gecko that referenced this pull request Dec 18, 2018
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Dec 20, 2018
…e0f1b9707f2d6c (WR PR #3421). r=kats, a=RyanVM

servo/webrender#3421

--HG--
extra : source : b7d06736403e5f07f8d1b68ea7345f6486eea4eb
extra : histedit_source : 6784685747abba47faa0ce00886211aa2b73094d
xeonchen pushed a commit to xeonchen/gecko that referenced this pull request Dec 21, 2018
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 3, 2019
…f1b9707f2d6c (WR PR #3421). r=kats

servo/webrender#3421

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

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

servo/webrender#3421

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

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

servo/webrender#3421

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

UltraBlame original commit: b7d06736403e5f07f8d1b68ea7345f6486eea4eb
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.

None yet

3 participants