diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-10-13 17:25:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-13 17:25:03 -0500 |
commit | 6e0d7326ab2901ef493c6de5b41969f8ee602864 (patch) | |
tree | c5ff8a20c2e3169f3c2746067d11ddeb37479c19 /components/net/blob_loader.rs | |
parent | 3e12af581585b7ff988ab6ab9f3323f210b67dd1 (diff) | |
parent | be62ad71176d66648f2aa754477668f7742f296b (diff) | |
download | servo-6e0d7326ab2901ef493c6de5b41969f8ee602864.tar.gz servo-6e0d7326ab2901ef493c6de5b41969f8ee602864.zip |
Auto merge of #13682 - mrobinson:push_pop, r=pcwalton
Integrate stacking contexts into the display list
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).
<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Integrate stacking contexts into the display list by adding two new
entry types, PushStackingContext and PopStackingContext. This allows us
to eliminate the ugly offsets map that DisplayList used to contain
and seems to speed up display list construction. With this approach
we are able to also completely prune pseudo-stacking contexts from the
final display list and remove their (minimal) overhead from display
list traversal Traversing the display list is also a bit simpler now.
Additionally, this will allow easier editing of the DisplayList to
properly support scrolling roots. The push/pop entries can be
duplicated to clone complex StackingContext trees between layers.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13682)
<!-- Reviewable:end -->
Diffstat (limited to 'components/net/blob_loader.rs')
0 files changed, 0 insertions, 0 deletions