-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
gfx: Simplify complex clipping regions as we construct them. #10331
gfx: Simplify complex clipping regions as we construct them. #10331
Conversation
Heads up! This PR modifies the following files:
|
@paulrouget This is not a complete fix, but it fixes your test case. Let me know if you need to handle more cases than this right now. |
This allows WebRender to correctly render complex clipping regions that can be reduced to single rounded rectangles. WebRender still can't render rounded rectangles with arbitrary intersections yet, but this allows it to handle many more cases. Closes servo/webrender#241.
@bors-servo r+ |
📌 Commit 22a1c11 has been approved by |
Tested. It fixes our issues in browserhtml. So that's enough. Thank you. |
⌛ Testing commit 22a1c11 with merge 4e21517... |
…glennw gfx: Simplify complex clipping regions as we construct them. This allows WebRender to correctly render complex clipping regions that can be reduced to single rounded rectangles. WebRender still can't render rounded rectangles with arbitrary intersections yet, but this allows it to handle many more cases. Closes servo/webrender#241. r? @glennw <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10331) <!-- Reviewable:end -->
☀️ Test successful - android, arm32, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, status-appveyor |
This allows WebRender to correctly render complex clipping regions that
can be reduced to single rounded rectangles. WebRender still can't
render rounded rectangles with arbitrary intersections yet, but this
allows it to handle many more cases.
Closes servo/webrender#241.
r? @glennw
This change is