#include <algorithm>#include <array>#include <cstddef>#include <memory>Classes | |
| class | donner::svg::components::DocumentResourceFamilyBudget |
| Shared live-memory envelope for a root SVG document and all cached subdocuments. More... | |
| struct | donner::svg::components::DocumentResourceFamilyBudget::Limits |
| Per-kind and aggregate retained-byte ceilings. More... | |
| struct | donner::svg::components::DocumentResourceFamilyBudget::SecurityStats |
| Current charges and sticky refusal state for diagnostics. More... | |
| struct | donner::svg::components::DocumentResourceFamilyContext |
| Shared budget handle carried by a root document and its cached subdocuments. 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,. | |
| struct donner::svg::components::DocumentResourceFamilyBudget::Limits |
Per-kind and aggregate retained-byte ceilings.
| Class Members | ||
|---|---|---|
| size_t | computedFilterBytes = 64 * 1024 * 1024 | Maximum retained computed-filter bytes. |
| size_t | computedStyleBytes = 64 * 1024 * 1024 | Maximum retained computed-style bytes. |
| size_t | decodedImageBytes = 64 * 1024 * 1024 | Maximum retained decoded raster-image bytes across the document family. |
| size_t | geometryBytes = 64 * 1024 * 1024 | Maximum retained geometry bytes. |
| size_t | maximumTotalRetainedBytes = kDefaultMaximumTotalRetainedBytes | Maximum bytes retained across every kind combined. |
| size_t | parsedPayloadBytes = 64 * 1024 * 1024 | Maximum retained parsed payload bytes. |
| size_t | textPathMeasurementWorkUnits = 32 * 1024 * 1024 | Maximum cumulative text-path measurement work across the document family. |
| struct donner::svg::components::DocumentResourceFamilyBudget::SecurityStats |
Current charges and sticky refusal state for diagnostics.
| Class Members | ||
|---|---|---|
| bool | rejected = false | Whether any reservation has been refused. |
| size_t | rejectedReservations = 0 | Number of refused reservation attempts. |
| array< size_t, static_cast< size_t >(Count)> | retainedBytes {} | Retained bytes indexed by Kind. |
| bool | textPathMeasurementWorkRejected = false | Whether text-path measurement work was refused in the current epoch. |
| size_t | textPathMeasurementWorkUnits = 0 | Cumulative admitted text-path measurement work that was actually consumed. |
| size_t | totalRetainedBytes = 0 | Retained bytes across all resource kinds. |
| struct donner::svg::components::DocumentResourceFamilyContext |
Shared budget handle carried by a root document and its cached subdocuments.
| Class Members | ||
|---|---|---|
| shared_ptr< DocumentResourceFamilyBudget > | budget | Family-wide retained-byte budget, if one is attached. |