Files
raea/runtime/view
shinyobjectzandJameschuthink 97d93d244f Direct render: the 2D image rows' Blitz page (a Bevy App) is made on its first draw, not with the view, so a render that never draws an image row makes none (closes #70)
rows2d::Rows keeps an Option<Page> built by page() on first use with the same arguments; draw returns R<bool>
since building can fail there now, and the engine's overlay (runtime/gpuframe overlay.rs) logs and skips that frame's
rows on an error, as it already does for rgba(). texture() is None before the first draw.

Checked on an M-series Mac, release build, RAEA_EXPORT_CACHE=0, a 30-frame 800x1000 TSX with a moving text box
(and the same with an <Img> on frames 10-19; a TSX page arrives on the GPU, so neither draws an image row): one
warm-up, then 5 runs each, two rounds in swapped order. Median 0.395 s -> 0.312 s (about 83 ms a render). Frames
identical by framemd5 on both, the <Img> red on exactly frames 10-19 in both builds.

Co-authored-by: Jameschuthink <[email protected]>
2026-11-09 08:46:40 -08:00
..