Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSome helpers and bug fixes for picture caching work. #3368
Conversation
|
Try run looks good. |
webrender/src/clip_scroll_tree.rs, line 473 at r1 (raw file):
isn't the root scroll frame also... scrollable? (hence, non-identity) webrender/src/display_list_flattener.rs, line 1368 at r1 (raw file):
it would look much cleaner at call sites if this was an webrender/src/display_list_flattener.rs, line 2253 at r1 (raw file):
do you have any idea on how often this happens in the wild? just curious :) webrender/src/util.rs, line 591 at r1 (raw file):
I'm a bit worried that this would semantically cause the copy of |
webrender/src/clip_scroll_tree.rs, line 473 at r1 (raw file): Previously, kvark (Dzmitry Malyshau) wrote…
It doesn't seem so - there is an implicit scroll frame being added by WR, but it doesn't seem to be used. As a follow up, I'd like to investigate removing it - I discussed this briefly with kats. webrender/src/display_list_flattener.rs, line 1368 at r1 (raw file): Previously, kvark (Dzmitry Malyshau) wrote…
Fixed webrender/src/display_list_flattener.rs, line 2253 at r1 (raw file): Previously, kvark (Dzmitry Malyshau) wrote…
It happens quite often :) Gecko provides stacking contexts for groupings in quite a lot of scenarios, and definitely always at least one or two in the main scene. Handling this case for the main scene simplifies the case of picking scroll roots to act as picture caching layers. webrender/src/util.rs, line 591 at r1 (raw file): Previously, kvark (Dzmitry Malyshau) wrote…
Fixed (if what you meant is to use |
|
@kvark Thanks, all comments addressed / fixed, I think. |
|
Thanks! |
|
|
Some helpers and bug fixes for picture caching work. From the individual commits: * Fix debug assert due to color being out of bounds. * Store whether a scroll frame is implicitly added or not. * Add a fast path for no-op stacking contexts. * Fix texture cache eviction of tiles that are still useful. <!-- 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/3368) <!-- Reviewable:end -->
|
|
…fa2bdc47c3e4 (WR PR #3368). r=kats servo/webrender#3368 Differential Revision: https://phabricator.services.mozilla.com/D13497 --HG-- extra : moz-landing-system : lando
…fa2bdc47c3e4 (WR PR #3368). r=kats servo/webrender#3368 Differential Revision: https://phabricator.services.mozilla.com/D13497
…fa2bdc47c3e4 (WR PR #3368). r=kats servo/webrender#3368 Differential Revision: https://phabricator.services.mozilla.com/D13497 UltraBlame original commit: 1a7497dad85e5674cf508b93f22bb0301e013074
…fa2bdc47c3e4 (WR PR #3368). r=kats servo/webrender#3368 Differential Revision: https://phabricator.services.mozilla.com/D13497 UltraBlame original commit: 1a7497dad85e5674cf508b93f22bb0301e013074
…fa2bdc47c3e4 (WR PR #3368). r=kats servo/webrender#3368 Differential Revision: https://phabricator.services.mozilla.com/D13497 UltraBlame original commit: 1a7497dad85e5674cf508b93f22bb0301e013074
gw3583 commentedNov 29, 2018
•
edited by larsbergstrom
From the individual commits:
This change is