Expand description
Defines data structures which are consumed by Paint.
Structs§
- Axes
Scroll Sensitivity - The ScrollType of particular node in the vertical and horizontal axes.
- Paint
Display List Info - A data structure which stores
Paint-side information about display lists sent toPaint. - Reference
Frame Node Info - Scroll
Tree - A tree of spatial nodes, which mirrors the spatial nodes in the WebRender
display list, except these are used for scrolling in
Paintso that new offsets can be sent to WebRender. - Scroll
Tree Node - A node in a tree of scroll nodes. This may either be a scrollable node which responds to scroll events or a non-scrollable one.
- Scroll
Tree Node Transformation Cache - A cached of transforms of a particular
ScrollTreenode in both directions: mapping from node-relative points to root-relative points and vice-versa. - Scroll
Type - A scroll type, describing whether what kind of action originated this scroll request.
This is a bitflag as it is also used to track what kinds of
ScrollTypes scroll nodes are sensitive to. - Scrollable
Node Info - Data stored for nodes in the ScrollTree that actually scroll, as opposed to reference frames and sticky nodes which do not.
- Sticky
Node Info
Enums§
Type Aliases§
- Adjacency
List 🔒ForPrint - In order to pretty print the ScrollTree structure, we are converting the node list inside the tree to be a adjacency list. The adjacency list then is used for the ScrollTree::debug_print_traversal of the tree.