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
No longer allow clipping items by complex clips #2512
No longer allow clipping items by complex clips #2512
Conversation
Gecko try job is here: #2512 |
153bb8b
to
ff8750b
Compare
☔ The latest upstream changes (presumably #2507) made this pull request unmergeable. Please resolve the merge conflicts. |
ff8750b
to
1828236
Compare
@staktrace Thanks for provided the correct link. I was in a bit of a rush this morning. The branch should be rebased and ready to review now. |
Is there a Gecko / Servo patch you could post here for the API update, that we can use while doing try runs in the interim? |
Looks great! A few questions, otherwise 🚢 it Reviewed 12 of 12 files at r1. direct-composition/src/main_windows.rs, line 135 at r1 (raw file):
any reason we aren't doing wrench/src/rawtest.rs, line 606 at r1 (raw file):
any reason this is removed? Comments from Reviewable |
Review status: all files reviewed at latest revision, 2 unresolved discussions. direct-composition/src/main_windows.rs, line 135 at r1 (raw file): Previously, kvark (Dzmitry Malyshau) wrote…
It looked like the rounded rectangle here wasn't important for the example, but I can add it back. I didn't want to make too many changes here because I don't have a Windows environment ready for testing. I can spend a little time getting the rendered content back to its original state though. wrench/src/rawtest.rs, line 606 at r1 (raw file): Previously, kvark (Dzmitry Malyshau) wrote…
I added this one to explicitly test items with their own rounded rectangle local clips. Since I removed that feature, I also removed the test for it. Directly below is the same test, but using separate clipping nodes. Comments from Reviewable |
1828236
to
55afba7
Compare
This is part of an API simplification which should hopefully lead to less code complexity in the future. Fixes servo#1742.
55afba7
to
d398096
Compare
@glennw I don't think there are any code changes necessary for Gecko (it always uses the PrimitiveInfo constructors) and here is a branch with the changes necessary for Servo: https://github.com/mrobinson/servo/tree/changes-for-localclip-changes. I haven't tested this one, but I'm fairly certain there is no change in behavior. |
@mrobinson looks like this is ready to go? |
@kvark Yep. Is it okay to land it? |
@mrobinson well, the try looks good, code is approved by me, and Gecko doesn't (seemingly?) appear to need any changes. Shipit! |
@kvark Thanks! @bors-servo r=kvark |
📌 Commit d398096 has been approved by |
No longer allow clipping items by complex clips This is part of an API simplification which should hopefully lead to less code complexity in the future. Fixes #1742. <!-- 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/2512) <!-- Reviewable:end -->
@bors-servo retry |
No longer allow clipping items by complex clips This is part of an API simplification which should hopefully lead to less code complexity in the future. Fixes #1742. <!-- 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/2512) <!-- Reviewable:end -->
💔 Test failed - status-travis |
Blocked by #2522. |
@bors-servo retry |
No longer allow clipping items by complex clips This is part of an API simplification which should hopefully lead to less code complexity in the future. Fixes #1742. <!-- 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/2512) <!-- Reviewable:end -->
☀️ Test successful - status-appveyor, status-taskcluster, status-travis |
This is part of an API simplification which should hopefully lead to
less code complexity in the future.
Fixes #1742.
This change is