Structs§
- Backdrop
Boundary - Marker emitted per element that has a resolved
backdrop-filter. - Batch
Cache - Per-frame cache that stores the actual
QuadInstanceandGlyphInstancedata emitted by each node in the previous frame. When a node has neitherPAINTnorSUBTREE_PAINTthe batch builder extends the current batch with the stored instances instead of regenerating them. - Batch
Range - Records the primitives produced by a single node (and its subtree) in the
previous frame for a specific layer. Used by
BatchCacheto replay cached output for clean (non-dirty) nodes without rebuilding. - Frame
Batch - Image
Batch - Layered
Batch - Shaped
Text Cache - Cache for shaped text layouts. Keyed on text content + font params + width.
- SvgDraw
Call - One queued SVG draw.
geometryis anArcpointer into the tessellation cache;translateandscalemap the local SVG user units into pixel coordinates,clip_rectis the pixel space scissor rectangle inherited from containing overflow clips,color_tintis a per draw multiplier (used to honor element levelcolorinheritance forcurrentColor), andopacityis the multiplied element opacity.
Functions§
- build_
render_ batch - clear_
paint_ flags_ subtree - Clear PAINT and SUBTREE_PAINT flags on every node in a subtree after a
frame has been rendered. Call this after
build_render_batchcompletes. This requires mutable access to the arena; kept as a separate step sowalk_for_batchcan retain a shared&NodeArenaborrow. - emit_
select_ overlays - Walk the arena and emit select-specific rendering: