Parallel: Actors free destroyed textures (each atlas grow/repack left a full copy in every Actor), atlas patches send the updated glyph rects instead of whole row spans and are built once per version for all Actors (fonts tex sends 151 -> 91 KB/frame in Studio, TexBytes 35.6 -> 22.2 MB headless); Actor texture handling moved to Raster.ApplyTextures, which Sync mode now runs on per-Actor copies so t_parallel checks it; t_parallel fonts scenario (new size per frame), check_all runs 620 frames
This commit is contained in:
1 parent
f243737fb9
commit
4cc328560d
6 files changed
+157
-38
No files matched your search
@@ -4,7 +4,7 @@
|
||||
-- PreSimulation -> PostSimulation), open with SyncDrop (half the worker results lost -> Finish falls back), and closed
|
||||
-- (late RenderDrawData: rasterized + uploaded at once). The composites of A and B must match at every checkpoint.
|
||||
-- Prints the executor's main-thread pack cost per frame next to A's inline raster + upload cost.
|
||||
-- run: python3 tools/test/run.py --main tools/test/scripts/t_parallel.luau --frames 900 --quiet --roblox
|
||||
-- run: python3 tools/test/run.py --main tools/test/scripts/t_parallel.luau --frames 900 --quiet --roblox (5 scenarios: >= 600)
|
||||
local RS = game:GetService("ReplicatedStorage")
|
||||
local G = require(RS:WaitForChild("ImGui"))
|
||||
local ImGui, ImVec2 = G.ImGui, G.ImVec2
|
||||
@@ -85,6 +85,14 @@ local SCEN = {
|
||||
ImGui.Text("frame %d", f)
|
||||
ImGui.End()
|
||||
end },
|
||||
{ "fonts", function(f) -- a new font size every frame: glyph uploads, atlas grow/repack (Actor texture patches)
|
||||
ImGui.SetNextWindowPos(ImVec2(40, 30), G.ImGuiCond.Always); ImGui.SetNextWindowSize(ImVec2(620, 600), G.ImGuiCond.Always)
|
||||
ImGui.Begin("Fonts")
|
||||
ImGui.PushFont(nil, 12 + (f * 0.25) % 40)
|
||||
for i = 1, 12 do ImGui.TextWrapped("Line %d: the quick brown fox jumps over the lazy dog, %d times.", i, f) end
|
||||
ImGui.PopFont()
|
||||
ImGui.End()
|
||||
end },
|
||||
}
|
||||
|
||||
local ctx, gui = {}, {}
|
||||
|
||||
Reference in new issue
Block a user