Commit Graph
27 Commits
Author SHA1 Message Date
4DBug 23e31fcf3c 0.4.3
Build & Release / build (push) Canceled after 0s
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
2026-10-21 04:04:31 -05:00
4DBug dd9a5ef219 0.4.2
Build & Release / build (push) Canceled after 0s
- Less garbage per frame: scalar text/label sizes, scratch rects/points, reused clip-stack ImVec4 and window stack entries (160 -> 56 KB/frame on demo+stress, draw hashes unchanged)
- Faster glyph baking: @native rasterizer/rect packer/pixel loops, glyph shape cache, comparator-free edge sort, inline scanline conversion, table.create zero-fill; fix leaked global 'step'
- Textures: new atlases convert only the packed corner, flat row conversion skipping zero pixels
- Raster: uniform-region tracking, direct opaque glyph texels, inlined BlendPixel with per-texel cache
- Raster: textured line quads drawn as one quad, u32 texel reads for constant-colour triangles, column walk for tall narrow triangles (plot bench Raster 4.16 -> 3.21 ms, HashVertex 0.64 -> 0.55 ms, pixels unchanged)
- Parallel: send Actors only changed atlas rows / rows above FillRow (full-copy 1283 -> 619 MB on fontbench x4 Actors); dispatch small and text-heavy frames (MinTiles 1, MinPixels 2048, MaxBytesPerPixel 0)
- Stage timing: Textures and Flush stages; parallel stats explain serial flushes
- extensions/: submodules for imcurveedit-luau, imgradient-luau, imgui-memory-editor-luau, imsequencer-luau; all 9 submodule URLs and README links now on GitHub
- new examples: example_love_extensions, example_roblox_extensions
2026-10-17 13:18:53 -05:00
4DBug 9b1052beed 0.4.1
Build & Release / build (push) Canceled after 0s
- TextProxy works for any widget that sets PlatformImeData.WantTextInput (+ SelectedText)
- TextProxy: key-code fallback waits for the TextBox (fixes doubled typing); no stuck Ctrl after paste
- Raster: reversed rects (min > max) draw like upstream (fixes ImNodes/ImPlot box select)
- test harness: --module NAME=path loads extra ModuleScripts
- new tests: t_textproxy_custom, t_rect_flip
- extensions/: submodules for imguicolortextedit-luau, imguizmo-luau, implot-luau, implot3d-luau, imnodes-luau
2026-10-17 07:31:40 -05:00
4DBug b4458195b9 0.4.0
Build & Release / build (push) Canceled after 0s
2026-10-16 22:53:18 -05:00
4DBug 9b735db59c 0.3.0
Build & Release / build (push) Canceled after 0s
2026-10-15 11:04:45 -05:00
4DBug 6fc870a519 CI/releases: drop the nodemo bundles (--no-demo build flag kept); remove examples/example_shared; Roblox backend RenderRate defaults to 60 (0 = every frame); README + TODO.txt updated 2026-10-15 10:57:00 -05:00
4DBug d6bdedee85 Fix: InputTextMultiline crashed when drawn (InputTextLineIndexBuild/line offsets 0-based like upstream, inverted buf_display_end), InputText LiveEdit flag check; Shortcut()/IsKeyChordPressed() upstream defaults; FrameCount starts at 0 (IsWindowAppearing on first frame); missing ImGuiIO config fields with upstream defaults (+ ConfigDebugBeginReturnValueOnce/Loop); ColorButton drag source + ColorEdit4 drop target, IMGUI_PAYLOAD_TYPE_COLOR_3F/4F; t_fixes covers them 2026-10-15 03:03:10 -05:00
4DBug 7ca140665d 0.2.0
Build & Release / build (push) Canceled after 0s
2026-10-15 01:06:11 -05:00
4DBug 3b28ba362b Roblox backend: redraw budget is opt-in (SetRedrawBudget default 0 = every changed tile drawn the same frame) 2026-10-15 00:55:43 -05:00
4DBug b15bdcd8b6 bundle.py: build-time Luau optimizations (draw-data identical; IMGUI_BUNDLE_NOOPT=1 disables): hot library globals as bundle locals, enum/constant folding (values dumped by the luau CLI; IMGUI_BUNDLE_STRICT=1 in CI), --@hoist pure helpers to inlinable bundle-level local functions, statement IM_ASSERT -> assert; builtin type instead of ImGui._GetTypeFunc() alias (GETGLOBAL 15903 -> 540) 2026-10-15 00:23:20 -05:00
4DBug 01978e76ad Roblox backend perf (pixel-identical): redraw budget (SetRedrawBudget, default 1.5 ms; RenderRate default 0), exact in-place draw list compare + whole-pixel move fast path, partial tile redraws, flat rects hashed by in-tile rect, quads hashed by TL/BR, no full redraw on texture updates, @native CopyTexturePixels, reused partial upload buffers; imgui_draw: @native word wrap, ImStrByte/classifier inlined, text size cache covers wrapped text; t_pixels pixel oracle; run.py RUN_FLAGS 2026-10-14 22:26:38 -05:00
4DBug 67dc6d3e18 0.1.4
Build & Release / build (push) Canceled after 0s
2026-10-14 10:32:10 -05:00
4DBug 43410ad035 InputText: fix clipboard paste (filter was inverted, then off-by-one in the filtered buffer); ImParseFormatTrimDecorations: return [start, end) like upstream (Ctrl+click temp input showed decorations / crashed on "%d%%"); ShrinkWidths: tie order by Index descending like upstream; t_fixes test 2026-10-14 10:32:10 -05:00
4DBug 0091e0e879 CI: minified builds (ImGui.min.luau, ImGui-nodemo.min.luau, imgui_love.min.lua, imgui_love-nodemo.min.lua) via tools/minify.py; checks + release assets; run.py MINIFY=1 2026-10-14 10:23:55 -05:00
4DBug 65d8510f29 0.1.3
Build & Release / build (push) Canceled after 0s
2026-10-14 06:26:28 -05:00
4DBug 3bebc88ffc 0.1.2
Build & Release / build (push) Canceled after 0s
2026-10-09 02:24:21 -05:00
4DBug 5db1490647 Roblox backend: text proxy is opt-in (SetTextProxy), remove SetTextProxyDebug; new example main.client.luau 2026-10-09 02:22:30 -05:00
4DBug 51399d29d2 README: move 'How it works' below Getting Started 2026-10-08 20:57:31 -05:00
4DBug ce90ebf139 README: Wally package link; 0.1.1
Build & Release / build (push) Canceled after 0s
2026-10-08 20:54:31 -05:00
4DBug cc6cf48cd1 Wally: scope 4dbug (must match the GitHub account) 2026-10-08 20:52:52 -05:00
4DBug 303b626938 SetNextWindowCached(key): opt-in cached windows on top of the refresh policy (skip contents while idle), t_cached_window test, README snippet
Build & Release / build (push) Canceled after 0s
2026-10-08 20:43:56 -05:00
4DBug 7eb87c94e9 Luau types: generated typed entry module build/ImGuiTyped.luau (requires the bundle as child Impl); Rojo/Wally use it 2026-10-08 20:36:27 -05:00
4DBug d9a2371d5f Wally package (bug/imgui-luau), published by CI on v* tags 2026-10-08 20:30:22 -05:00
4DBug 9ffc76de06 README: AI disclosure wording; .gitignore 2026-10-08 20:29:29 -05:00
4DBug acbe92bd12 README: AI disclosure 2026-10-08 19:43:06 -05:00
4DBug ac54986e6f GitHub-only mirror notice (.github/README.md, synced from README.md), 'latest' is a full release 2026-10-08 19:40:49 -05:00
4DBug 42c84ad947 GitHub Actions: build Roblox/LÖVE bundles (with and without demo), check, publish to Releases (latest + v* tags) 2026-10-08 19:34:40 -05:00