servo/components/layout_2020/display_list
Martin Robinson b60e105526 Refactor Layout 2020 layout for a compositor-side scroll tree
This change refactors how layout is done in Layout 2020 in preparation
for a compositor-side scroll tree:

1. Now the SpatialId and ClipId of each fragment is stored separately.
   This will allow storing a scroll node id instead of only the handle
   to the WebRender spatial node.
2. Separate out stacking context tree construction and display list
   building. This change will make it possible to eventually build the
   stacking context tree without the full display list if we find that
   necessary. For instance, this might be useful to cache containing
   block boundaries.
3. Add a `DisplayList` struct that stores both the WebRender display
   list builder and the compositor info. This exposes the API to the
   layout thread for display list building.

In addition, this change adds a lot of missing documentation.  This
should not change behavior.
2023-05-17 10:46:27 +02:00
..
background.rs layout_2020: Implement support for backface-visibility 2020-05-16 09:42:45 +02:00
conversions.rs Add support for text-decoration-style 2020-03-23 11:10:44 +01:00
gradient.rs Refactor Layout 2020 layout for a compositor-side scroll tree 2023-05-17 10:46:27 +02:00
mod.rs Refactor Layout 2020 layout for a compositor-side scroll tree 2023-05-17 10:46:27 +02:00
stacking_context.rs Refactor Layout 2020 layout for a compositor-side scroll tree 2023-05-17 10:46:27 +02:00