Linora

0013. Render engine is a derived cache of the document

Status: Superseded by 0024 for phasing and memory (2026-11-27). Still valid: the engine is a derived cache of the doc; paint order = pre-order; remote drag previews via remote-xf slots; bench gate within 3%. Changed: there is no CPU primitive mirror in any phase; instances are derived per chunk from doc columns at first integration (E1).

Context

Baseline that must not regress (M4 Pro, Chrome): 4,000 website pages (682K layers, 11M primitives) and 5M shapes at ~120 fps; worst-zoom GPU <= 3.6 ms. Today the engine’s Scene is also the only data model.

Decision

Alternatives

Consequences

The doc never knows about chunks or GPU buffers; the engine can be replaced or moved to a worker/WebGPU later behind the same feed.