feat(render3d): R3D_DRAWSTATS - every draw a frame makes, by pass, program and kind

Measurement only: a tally at each of gpu.ludic's five draw doors, program
changes and texture binds, keyed by the open profiler pass. Off unless
R3D_DRAWSTATS is set; frames byte-identical with it off and on (Mac, OpenGL).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-15 14:38:30 +03:00
parent 5b28063b52
commit b9eda646fc
4 changed files with 215 additions and 1 deletions

View file

@ -8,6 +8,7 @@ import "gpu_manifest.ludic"
import "gpu_vk.ludic"
import "gpu_vk_res.ludic"
import "prof.ludic"
import "drawstats.ludic"
import "programs.ludic"
import "texture.ludic"
import "mesh.ludic"