Commit Graph
5 Commits
Author SHA1 Message Date
4DBugandClaude Opus 5.5 a94c7a3417 Roblox backend: keep 4 prewarmed tiles in the free list (Heartbeat, one per call, never evicting)
A growing layer takes them instead of creating an EditableImage + ImageLabel mid-frame (~90 us per tile in
Studio vs ~7 us from the free list). GetTile: one path for new and recycled tiles (NewTile).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 01:24:28 -05:00
4DBugandClaude Opus 5.5 ae1b6e05a0 Roblox backend: moved draw lists with drifted vertices: redraw just what they touch (and always redraw it)
A window moved by whole pixels often has a few trig-generated vertices off the exact shift by an ulp (when a
coordinate crosses a power of two): CompareDrawList fell back to the full Collect + Hash (~1/4 of moving
frames), and the tile hashes don't see an ulp, so those primitives were never redrawn (stale pixels vs a
forced redraw, e.g. a moving Bullet). Now CompareDrawList lists the drifted vertices; if all their floor /
ceil (CollectPrims' bounds) shifted too it returns 3: PatchDrawList keeps the tile lists (same primitive
sequence, checked) and marks only the drifted primitives' entries changed (DriftMark, new each frame), so
their tiles redraw just those rects. Otherwise the full path marks them the same way.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 01:24:28 -05:00
4DBugandClaude Opus 5.5 5a4475dee6 Roblox backend: tiles no longer allocate a 64 KB CPU pixel buffer each (unused since dirty rects are rasterized straight into upload buffers)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 15:12:11 -05:00
4DBugandClaude Opus 5.5 b62569c9d4 Roblox backend: faster unchanged check: CompareDrawList compares vertices as 4 f64 + col (3x fewer reads), indices 4 per step; a moved list's snapshot is shifted in place (ShiftSnapshot) instead of re-snapshotted from another list's Cmd* data
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 13:56:21 -05:00
4DBug c5a0b20132 0.4.0
Build & Release / build (push) Canceled after 0s
2026-10-16 22:53:18 -05:00