Expand description
Defines data structures which are consumed by the Compositor.
Structs§
- Ancestor
Sticky 🔒Info - Axes
Scroll Sensitivity - The [ScrollSensitivity] of particular node in the vertical and horizontal axes.
- Compositor
Display List Info - A data structure which stores compositor-side information about display lists sent to the compositor.
- 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 to scrolling in the compositor so 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
ScrollTree
node 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
ScrollType
s 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.