joule-moq-web room: draw only what changed, and send a key at once #585
Loading…
Reference in a new issue
No description provided.
Delete branch "room/draw-on-new-frame"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The room's compositor redrew every tile on a fixed timer whether or not a frame had arrived, on a canvas asking for software rendering so a test hook could read it back. A still room spent draws at the full rate, and a frame waited up to a whole period for the next tick.
What changes
stats()reports what drawing spent. The counts are held by the test, because a busy host can't flake them (draws <= frames + relayouts + 1). The latency from a frame's arrival to its drawing is reported, not held.Evidence
compose.test.mjs9,remote_input.test.mjs7, both run frome2e/run.sh.Not measured: the frame latency this saves on a real display. The host above is shared and headless, so the figure would not mean much; the counts are what the test holds.
🤖 Generated with Claude Code