Roblox backend: clear/upload only each tile's dirty region; scroll benchmark in t_drag, scrolling in t_composite

This commit is contained in:
4DBug
2026-10-08 11:33:28 -05:00
parent ceb66d3067
commit ab108d288b
6 changed files with 75 additions and 11 deletions
+2
View File
@@ -56,6 +56,8 @@ game:GetService("RunService").Stepped:Connect(function()
G.ImGui_ImplRoblox.NewFrame()
io.DeltaTime = 1 / 60
io:AddMousePosEvent(300 + (frame * 37) % 300, 100 + (frame * 53) % 500)
local dw = ImGui.FindWindowByName("ImGui Sincerely Demo")
if dw and frame % 3 == 0 then io:AddMousePosEvent(dw.Pos.x + 200, dw.Pos.y + 300); io:AddMouseWheelEvent(0, (frame % 30 < 18) and -1 or 1) end
ImGui.NewFrame()
ImGui.ShowDemoWindow(true)
ImGui.SetNextWindowPos(ImVec2(20, 20)); ImGui.SetNextWindowSize(ImVec2(600, 700))