- 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
This commit is contained in:
1 parent
9b1052beed
commit
dd9a5ef219
33 files changed
+3814
-482
No files matched your search
+3
-1
@@ -319,13 +319,15 @@ end
|
||||
--- @param s table # 1-based
|
||||
--- @param c any
|
||||
--- @param n int
|
||||
@native
|
||||
function ImStd.memset(s, c, n)
|
||||
for i = 1, n do s[i] = c end
|
||||
end
|
||||
|
||||
do
|
||||
|
||||
local _memmove = function(dest, dest_start, src, src_start, count)
|
||||
@native
|
||||
local function _memmove(dest, dest_start, src, src_start, count)
|
||||
if count <= 0 then return end
|
||||
|
||||
local c = (dest == src and dest_start >= src_start)
|
||||
|
||||
Reference in new issue
Block a user