|
| class | donner::geode::GeodeRecordSlab |
| | Document-scoped, painter-ordered record slab for ordered draw batching (ordered batching). More...
|
| struct | donner::geode::GeodeRecordSlab::Slot |
| | One record slot: its index in the contiguous array and its absolute byte offset in the owning buffer. More...
|
| struct | donner::geode::GeodeRecordSlab::BatchUniformHandle |
| | A batch-uniform buffer plus its stable identity; buffer is null when the slab declined (uniform cache full, or buffer creation failed). More...
|
| struct | donner::geode::GeodeClipUniform |
| | A batch-level uniform kept across frames for one occurrence of a repeated draw (see GeodeOccurrenceRecords): a range of a geometry slab chunk, named by identity like a slab allocation, and the bytes last written to it, so an unchanged frame writes nothing. More...
|
| struct | donner::geode::GeodeOccurrenceRecords |
| | Persistent per-occurrence instance records for content drawn more than once over shared resident geometry: the glyph occurrences of one text element, or the second and later draws of one resident slot within a frame (each marker placement of a marker's content, a non-adjacent repeat of a <use> source). More...
|
| struct | donner::geode::GeodeOccurrenceRecords::Occurrence |
| | One occurrence's record slot plus the bytes last written to it. More...
|
| struct | donner::geode::GeodeGradientRamp |
| | A gradient's stops laid out in a stop ramp texture (see stopRamp in donner/gpu/shader/programs/SlugGradientSource.h). More...
|
| class | donner::geode::GeodeResidentSlab |
| | Document-scoped suballocation slab for GPU residence. More...
|
| struct | donner::geode::GeodeResidentSlab::Allocation |
| | One sub-range of a slab chunk. More...
|
| struct | donner::geode::GeodeResidentSlot |
| | GPU-resident geometry for one cached EncodedPath (a fill slot or a stroke slot). Owns a single combined-usage GPU buffer that holds the path's eight analytic dual-ray SSBO regions and per-draw uniform block, plus the cached fill bind group. Bounding vertices live in that uniform and are expanded from vertex_index, so the resident geometry needs no vertex buffer. The buffer and bind group are built once by GeoEncoder on first residence and reused every subsequent unchanged frame. More...
|
| struct | donner::geode::GeodeResidentSlot::Region |
| | A byte sub-range of buffer. size == 0 is never bound directly - empty SSBO regions reserve a zero-filled dummy slot wide enough for one element of the WGSL array they feed, so the shader's band-count gate keeps them un-dereferenced and the binding still passes WebGPU's minimum-size validation (matching the per-frame arena allocStorageOrDummy dummy). More...
|
| struct | donner::geode::GeodeResidentGradientSlot |
| | GPU-resident geometry for one gradient-painted fill. Mirrors GeodeResidentSlot. A combined-usage buffer holds the same eight analytic dual-ray SSBO regions, but the uniform region holds the 704-byte gradient uniform block (stops inline, donner/gpu/shader/programs/SlugGradientSource.h) and the cached bind group uses the reflected gradient pipeline layout with the active clip mask's view (or the device-owned placeholder) and the placeholder stop-ramp texture. Residence is not taken while a mask pass is open, exactly like the solid-fill residence gate; a draw under a clip polygon stays resident, its uniform carrying the polygon's planes. More...
|
| struct | donner::geode::GeodeResidentGradientSlot::Region |
| | A byte sub-range of buffer (same semantics as GeodeResidentSlot::Region). More...
|
| struct | donner::geode::GeodeResidentStrokeSlots |
| | GPU residence for one cached stroke outline (GeodePathCacheComponent::StrokeVariant). More...
|
| struct | donner::geode::GeodeResidentPathSlots |
| | Sibling of GeodePathCacheComponent: holds the GPU residence for an entity's fill and stroke encodes. Installed lazily by RendererGeode at the solid-fill draw sites; removed by the same entt listener that clears GeodePathCacheComponent when geometry changes. More...
|
| struct | donner::geode::GeodeResidentPathComponent |
| | One entity's GPU residence, one set of slots per device that draws it: a second device neither reuses the first one's slots nor resets them. More...
|
Per-entity GPU residence for Geode's cached encoded-path geometry.
GeodePathCacheComponent keeps the CPU-side EncodedPath across frames, but the renderer still re-uploaded that geometry to a fresh per-frame bump arena on every draw - the measured headline cost was a static Ghostscript Tiger writing ~1.44 MB per frame across 2,432 writeBuffer calls even though the CPU encode cache hit, plus one createBindGroup per draw (304/frame).
This component gives each cached path a persistent GPU buffer that survives frames, so an unchanged document's steady-state frame writes ~zero geometry bytes and re-uses a cached bind group. It lives BESIDE GeodePathCacheComponent on the same entity and is removed by the same ComputedPathComponent on_update / on_destroy listener (RendererGeode::Impl::onComputedPathChanged), so the GPU residence invalidates exactly when the geometry changes. Registry teardown (document close) destroys the component and RAII-frees the buffer - the eviction story for "many distinct documents".
Lives in donner::geode (not donner::svg::geode) to match the other Geode types referenced unqualified via geode:: inside donner::svg.