diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-05-15 10:35:45 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-05-17 10:46:27 +0200 |
commit | b60e105526705f941b2b9df4e12eaabbe2621802 (patch) | |
tree | 48f98019a5ec3984c9ec79d6c4e0caaedb17f094 /python/servo/bootstrap_commands.py | |
parent | c5d31c3ab6ad4c633869ef4c4d32cd01c480661f (diff) | |
download | servo-b60e105526705f941b2b9df4e12eaabbe2621802.tar.gz servo-b60e105526705f941b2b9df4e12eaabbe2621802.zip |
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.
Diffstat (limited to 'python/servo/bootstrap_commands.py')
0 files changed, 0 insertions, 0 deletions