Faster glyph baking (new font sizes): @native rasterizer/rect packer/pixel loops, glyph shape cache, reused rasterizer scratch (edges, points, active edges, scanlines); fix leaked global 'step'

This commit is contained in:
4DBug committed 2026-10-17 08:57:15 -05:00
1 parent 25a7387642
commit 3a4fc158fa
8 files changed
+452 -39

No files matched your search

+3 -1
View File
@@ -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)