codegirl007
98f56833a0
Add set_sprite_clip_def for pre-resolved clip switches
2026-08-14 23:19:30 -07:00
codegirl007
f295aedf04
Merge master into draw-sprite-max-sprites-guard.
...
Resolve batching_test.odin by keeping master tests and the MAX_SPRITES guard test.
2026-08-14 23:17:48 -07:00
codegirl007
c97a17f85b
Speed group_texture_runs for two-texture batches.
2026-08-14 23:08:00 -07:00
codegirl007
a24f547709
Add set_sprite_clip_def for pre-resolved clip switches.
2026-08-14 23:07:58 -07:00
codegirl007
f65b0354df
Test that set_sprite_clip caches clip_def on sprites.
...
Locks spawn/switch cache fill and that a bad clip name leaves the prior cache intact.
2026-08-14 22:43:42 -07:00
codegirl007
cc196afd2e
Cache sprite clip defs to cut per-frame map lookups
2026-08-14 22:42:15 -07:00
codegirl007
8d9faaaee0
Drop verbose comments from the clip-cache change.
2026-08-14 22:40:42 -07:00
codegirl007
41fb0a3d5a
Cache clip defs on sprites to avoid per-frame map lookups.
...
Crowd stress (128 sprites) showed Clip_Def string map_get as the top engine cost; cache on set_sprite_clip and use it in update/draw.
2026-08-14 22:32:28 -07:00
codegirl007
dcf5ea29b0
Texture batching with prepare_draw_batches test coverage
2026-08-14 22:20:08 -07:00
codegirl007
fb63ee21f4
Test draw_sprite refuses to exceed MAX_SPRITES.
...
Locks the enqueue capacity guard so a full draw_list cannot grow past the vertex buffer budget.
2026-08-14 22:18:42 -07:00
codegirl007
deef204bd3
Test DXIL preference when MSL is unavailable.
...
Locks the MSL > DXIL > SPIRV shader runtime order so Windows paths cannot silently fall through to Vulkan.
2026-08-14 22:16:58 -07:00
codegirl007
25dd3aa920
Add texture batching with TDD coverage at enqueue and prepare seams.
...
Opt-in batch_group regrouping cuts texture binds; prepare_draw_batches and draw_list tests lock the contract so end_frame cannot silently drop regroup.
2026-08-14 22:15:08 -07:00
codegirl007
e6be17fb71
initial perf tools
2026-08-03 13:45:59 -07:00
codegirl007
4dced062a5
Add missing changes that causes failures
2026-08-03 00:39:30 -07:00
codegirl007
cf888f26cd
Add explicit failure reasons to tests
2026-08-02 23:53:34 -07:00
codegirl007
248e57d3f0
add more tests
2026-08-02 23:50:37 -07:00
codegirl007
209e774230
add missing input file
2026-08-02 23:45:02 -07:00
codegirl007
589f2bd45c
camera
2026-08-01 23:50:03 -07:00
codegirl007
a85380fb71
sprite batching
2026-08-01 23:25:17 -07:00
codegirl007
d488161433
trim atlas of excess transparent pixels
2026-08-01 12:34:11 -07:00
codegirl007
35420b7344
queue drawing
2026-08-01 12:10:19 -07:00
codegirl007
5040446ec1
movement and sprite flipping
2026-08-01 12:01:17 -07:00
codegirl007
90da5934d7
determine pivot based on manifest
2026-08-01 10:37:36 -07:00
codegirl007
fbae54aef0
animation + test
2026-08-01 08:27:44 -07:00
codegirl007
fca6bd0945
add unit tests
2026-08-01 00:59:18 -07:00
codegirl007
06ade6a4b7
minor clean up to app.odin
2026-08-01 00:46:37 -07:00
codegirl007
fee46730b1
add shader backend + support for multiple shader formats
2026-08-01 00:41:50 -07:00
codegirl007
ebb6ea383f
Initial pipeline work
2026-07-31 19:11:19 -07:00
codegirl007
742cfcff6a
abstracting to engine package
2026-07-28 21:20:47 -07:00