Files
raea/gpu
shinyobjectz 087949140d A page draw past Vello's buffers is painted again before its frame is encoded, in the fed render too
A page past raea's smaller Vello bump buffers draws nothing, and only its sentinel read back says so (#23). The fed
render (pages handed to raea-render, the default for a page composition's mp4) never checked: the log said "drawn
again", but the skipped draw went into the film as it was. A heavy first frame came out black, and a layer could drop
for a frame (seen as a grain overlay flickering under 70 clipped, blurred, 3D-transformed shards).

- raea-sys-page skipped.rs: wait_drawn waits for the last draw's sentinel read back (its submission alone).
- raea-gpu-device check.rs fed_checked: once every read back has answered, a skip paints the frame again at Vello's
  own sizes, and a skip even then refuses the frame by its number, as the other render paths do; runtime/export
  fed.rs calls it after each frame's page is painted.

bench/vello-skip/check.sh: shards.tsx's mp4 frame 0 has mean luma 21 (the page); with the raea before this, 0. The
wait costs nothing measurable on an ordinary 1080p page (300 frames, alternating: 256.8 and 263.6 fps before, 262.8
and 263.7 after). Still to look at: the redrawn first frame lacks one shard that a render at Vello's own sizes from
the start draws (4,400 pixels, also in a --frame 0 still, whose redraw is skip_checked's).
2026-11-08 12:54:48 -08:00
..