Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
DirtyFlagsComponent.h File Reference
#include <cstdint>
#include "donner/base/EcsRegistry_fwd.h"
Include dependency graph for DirtyFlagsComponent.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::svg::components::DirtyFlagsComponent
 Tracks which computed properties are stale and need recomputation after a DOM mutation. More...
struct  donner::svg::components::RenderTreeState
 Global invalidation state, stored in the registry context via Registry::ctx(). More...
struct  donner::svg::components::RenderTreeState::Counters
 Observed render-tree preparation work, for tests and diagnostics. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
namespace  donner::svg
 Donner SVG library, which can load, manipulate and render SVG files.
namespace  donner::svg::components
 Contains the implementation of the Donner ECS,.

Functions

bool donner::svg::components::ApplyLiveStyleUpdate (Registry &registry, ParseWarningSink &warningSink, StylePassScheduler scheduler)
 Apply the live style portion of a retained update.

Class Documentation

◆ donner::svg::components::RenderTreeState::Counters

struct donner::svg::components::RenderTreeState::Counters

Observed render-tree preparation work, for tests and diagnostics.

Class Members
uint64_t fullRebuilds = 0 Prepares that tore down and recomputed everything.
uint64_t retainedUpdates = 0 Prepares that kept the computed components.
uint64_t retargetedUses = 0
uint64_t shadowTreeTeardowns = 0 Shadow-tree hosts torn down by full rebuilds. External <use> instances re-attached in place, after a retarget or a geometry change.
uint64_t useCopyRelationBuilds = 0 Times reference invalidation rebuilt its map from elements to the <use> copies that a clip path or mask can draw.