mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
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]>