|
|
Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
|
Stats produced by LayerResolver::resolve(). Tests inspect these. More...
#include "donner/svg/compositor/LayerResolver.h"
Public Attributes | |
| uint32_t | candidatesEvaluated = 0 |
| Total number of entities with a non-empty CompositorHintComponent seen this pass. | |
| uint32_t | layersAssigned = 0 |
| Number of entities that received a non-zero ComputedLayerAssignmentComponent this pass. | |
| uint32_t | budgetExhaustions = 0 |
| Count of non-mandatory candidates that lost their slot to the budget cap. Mandatory candidates that exceed the budget are not counted here (they always take precedence); each such eviction logs to stderr and increments this counter too so tests can catch over-budget mandatory sets. | |
Stats produced by LayerResolver::resolve(). Tests inspect these.
| uint32_t donner::svg::compositor::LayerResolverStats::budgetExhaustions = 0 |
Count of non-mandatory candidates that lost their slot to the budget cap. Mandatory candidates that exceed the budget are not counted here (they always take precedence); each such eviction logs to stderr and increments this counter too so tests can catch over-budget mandatory sets.
| uint32_t donner::svg::compositor::LayerResolverStats::candidatesEvaluated = 0 |
Total number of entities with a non-empty CompositorHintComponent seen this pass.
| uint32_t donner::svg::compositor::LayerResolverStats::layersAssigned = 0 |
Number of entities that received a non-zero ComputedLayerAssignmentComponent this pass.