Donner 0.5.1
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::svg::compositor::LayerResolverStats Struct Reference

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.

Detailed Description

Stats produced by LayerResolver::resolve(). Tests inspect these.

Member Data Documentation

◆ budgetExhaustions

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.

◆ candidatesEvaluated

uint32_t donner::svg::compositor::LayerResolverStats::candidatesEvaluated = 0

Total number of entities with a non-empty CompositorHintComponent seen this pass.

◆ layersAssigned

uint32_t donner::svg::compositor::LayerResolverStats::layersAssigned = 0

Number of entities that received a non-zero ComputedLayerAssignmentComponent this pass.


The documentation for this struct was generated from the following file: