Overview of waterui-dew rendering backend
devDew is an embedded-first CPU rendering backend for WaterUI designed for microcontrollers. It provides anti-aliased vector UI without requiring a GPU or a full-resolution framebuffer.
Key technical characteristics:
- Sparse Rasterization: Uses
vello_cputo perform sparse-strip rasterization. - Memory Discipline: Uses WaterUI's fine-grained reactivity to identify changed views and dirty screen regions. Only dirty regions are re-rasterized in small slices (bands) no taller than
band_heightrows. - Band-based Streaming: Rasterized bands are streamed to the panel (e.g., via SPI/QSPI), which avoids the bandwidth limitations of full-frame transfers.
- Input Handling:
DewRuntimeroutes retained pointer input to interactive controls like buttons, toggles, sliders, and steppers without rebuilding the view bodies.