|
|
Donner 0.8.0-pre
Embeddable browser-grade SVG2 engine
|
Immediate-mode eligibility and timing diagnostics for a promoted layer. More...
#include "donner/svg/compositor/CompositorLayer.h"
Public Attributes | |
| bool | immediate = false |
| True when editor-facing presentation treats the layer as a transient immediate tile. | |
| bool | staticHeuristicImmediate = false |
| True when the static cost heuristic chose immediate presentation. | |
| bool | dynamicHeuristicImmediate = false |
| True when measured raster time expanded this layer into immediate presentation. | |
| bool | demotedDynamicImmediate = false |
| True when this layer left dynamic immediate mode because the latest render was over budget. | |
| Box2d | boundsCanvas |
| Snapped canvas-space bounds used by the immediate/cached heuristic. | |
| int | estimatedDrawOps = 0 |
| Estimated number of direct geometry draws in the layer. | |
| int | estimatedPathVerbs = 0 |
| Estimated number of path verbs across direct geometry draws. | |
| bool | hasExpensiveEffect = false |
| True when the layer uses effects or resources that force cached presentation. | |
| bool | visible = false |
| True when the layer has a visible, bounded contribution to the canvas. | |
| uint64_t | estimatedRetainedBytes = 0 |
| Estimated presentation texture bytes retained by a cached tile. | |
| double | estimatedRedrawCost = 0.0 |
| Relative redraw cost from tight area and geometry complexity. | |
| double | estimatedCacheOverheadCost = 0.0 |
| Relative fixed/cache memory cost avoided by immediate presentation. | |
| double | measuredRasterizeMs = 0.0 |
| Raster time from the most recent layer render. | |
| double | immediateBudgetMs = 0.0 |
| Total dynamic immediate-layer frame budget for 120 Hz interaction. | |
| double | immediateBudgetChargeMs = 0.0 |
| Budget charged by this layer when it is immediate. | |
Immediate-mode eligibility and timing diagnostics for a promoted layer.
| Box2d donner::svg::compositor::ImmediateLayerPlan::boundsCanvas |
Snapped canvas-space bounds used by the immediate/cached heuristic.
| bool donner::svg::compositor::ImmediateLayerPlan::demotedDynamicImmediate = false |
True when this layer left dynamic immediate mode because the latest render was over budget.
| bool donner::svg::compositor::ImmediateLayerPlan::dynamicHeuristicImmediate = false |
True when measured raster time expanded this layer into immediate presentation.
| double donner::svg::compositor::ImmediateLayerPlan::estimatedCacheOverheadCost = 0.0 |
Relative fixed/cache memory cost avoided by immediate presentation.
| int donner::svg::compositor::ImmediateLayerPlan::estimatedDrawOps = 0 |
Estimated number of direct geometry draws in the layer.
| int donner::svg::compositor::ImmediateLayerPlan::estimatedPathVerbs = 0 |
Estimated number of path verbs across direct geometry draws.
| double donner::svg::compositor::ImmediateLayerPlan::estimatedRedrawCost = 0.0 |
Relative redraw cost from tight area and geometry complexity.
| uint64_t donner::svg::compositor::ImmediateLayerPlan::estimatedRetainedBytes = 0 |
Estimated presentation texture bytes retained by a cached tile.
| bool donner::svg::compositor::ImmediateLayerPlan::hasExpensiveEffect = false |
True when the layer uses effects or resources that force cached presentation.
| bool donner::svg::compositor::ImmediateLayerPlan::immediate = false |
True when editor-facing presentation treats the layer as a transient immediate tile.
| double donner::svg::compositor::ImmediateLayerPlan::immediateBudgetChargeMs = 0.0 |
Budget charged by this layer when it is immediate.
| double donner::svg::compositor::ImmediateLayerPlan::immediateBudgetMs = 0.0 |
Total dynamic immediate-layer frame budget for 120 Hz interaction.
| double donner::svg::compositor::ImmediateLayerPlan::measuredRasterizeMs = 0.0 |
Raster time from the most recent layer render.
| bool donner::svg::compositor::ImmediateLayerPlan::staticHeuristicImmediate = false |
True when the static cost heuristic chose immediate presentation.
| bool donner::svg::compositor::ImmediateLayerPlan::visible = false |
True when the layer has a visible, bounded contribution to the canvas.