Expand description
The GPU presenter (PLAN.md section 5.3): each monitor’s frame lives on the GPU as an index texture (one byte per pixel) with its 256-entry palette, and one full-screen triangle looks each pixel up. Only the rectangles the compositor reports are uploaded per frame.
The lookup is exact: no filtering, no blending, and an 8-bit non-sRGB target, so every pixel on screen has the bytes the still PNG has.
Structs§
Functions§
- exact_
format - An 8-bit format whose stored bytes equal the shader’s output bytes.
- merge_
spans - Joins rectangles that sit side by side on the same rows (particles in one cell row), so a frame needs fewer copies.