-
Notifications
You must be signed in to change notification settings - Fork 290
Clip stack collapse path #595
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
Conversation
Reviewed 14 of 14 files at r1. webrender/src/tiling.rs, line 616 at r1 (raw file):
This should be OPAQUE_TASK_INDEX I think. webrender/src/tiling.rs, line 1750 at r1 (raw file):
Can be removed Comments from Reviewable |
@kvark This looks great! Two very minor nits, then it looks good to me. Before merging, I'd like to just get @mrobinson to make sure the stacking context interface change is OK. Instead of having an overflow rect in the stacking context, the method to push a new stacking context now takes a clip region, which can be a normal rect, but could include an image mask etc. Does this interface change have any implications for the scroll root code? |
☔ The latest upstream changes (presumably #592) made this pull request unmergeable. Please resolve the merge conflicts. |
…gle. Renamed prim_store::PrimitiveClipSource to mask_cache::ClipSource. Creating dependent tasks for the layers. clip copy shader. Nested clipping and some text for the wr-sample.
…all. Fixed the needs_clipping flag to avoid blending where not necessary.
Review status: all files reviewed at latest revision, 2 unresolved discussions, some commit checks failed. webrender/src/tiling.rs, line 616 at r1 (raw file): Previously, glennw (Glenn Watson) wrote…
That was added when I needed it on multiple occasions, but it was removed later on. Anyway, I re-added it back now :) webrender/src/tiling.rs, line 1750 at r1 (raw file): Previously, glennw (Glenn Watson) wrote…
ok Comments from Reviewable |
All concerns are addressed, and the PR is rebased now. |
@bors-servo r+ |
📌 Commit 03ce061 has been approved by |
Clip stack collapse path Based on #581 Implements the 3rd option explained in #581 (comment) as an optional code path, controlled by `CLIP_TASK_COLLAPSE`, enabled by default. <!-- 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/595) <!-- Reviewable:end -->
☀️ Test successful - status-travis |
Based on #581
Implements the 3rd option explained in #581 (comment) as an optional code path, controlled by
CLIP_TASK_COLLAPSE
, enabled by default.This change is