• v0.4.3 23e31fcf3c

    0.4.3
    Build & Release / build (push) Canceled after 0s

    bug released this 2026-10-21 04:04:31 -05:00 | 25 commits to master since this release

    Performance update (Roblox), no API changes; draw data and pixels identical to 0.4.2.

    • Unchanged check: CompareDrawList reads vertices as f64 + col (3x fewer reads), moved lists shift their snapshot in place
    • Collect/hash ~40% cheaper per changed draw list; DirtyRects without copies, skips unchanged prims at the same position
    • Raster straight into the upload buffer (no CopySubRect; Upload -80..90%), uniform row intervals, faster glyph blits, pending damage rect, two-pixel span writes, inlined blends in gradient/interpolating triangles, tall flat triangles as spans
    • Tiles: no 64 KB CPU buffer per tile, 4 prewarmed tiles in the free list; atlas record buffers reused on repack
    • Fix: windows moved by whole pixels could keep stale pixels where trig-generated vertices drift by 1 ulp (t_move_pixels)
    • Library: @native on hot helpers, fewer temporaries (Begin, widgets, tables, PlotEx, colour checkerboard), pooled ImDrawCmd / style / group stack entries (55 -> 31 KB/frame on the bench scene); faster glyph baking (repack O(n), vertical-edge fast path)
    • backends/roblox/patches.lua: Luau-tuned RenderText/AddText/text-size cache hit (Roblox only)
    • bundle.py optimization L: library-internal ImGui.Foo calls become locals (Roblox; hookable deny-list: Begin, End, TreeNode*, CollapsingHeader, ItemAdd, ItemHoverable, ItemSize, BeginTabItem, ShowDemoWindow; IMGUI_BUNDLE_NO_L=1 turns it off)
    • Parallel: Actors free destroyed textures (leak), send only changed glyph rects
    • Extensions: implot-luau (range renderers, tick reuse, @native per-point paths), imguicolortextedit-luau (widest line + selection cached), implot3d-luau, imguizmo-luau (@native math)
    • LÖVE backend: RegisterCanvas()/UnregisterTexture(), ReadFile via love.filesystem root
    • tests: t_move_pixels, t_scene_pixels, t_stress, t_stress2 + bench_scenes.luau
    Downloads