wip: R3D_CB_DRAWS - submit the frame's command buffer every N draws (experiment)

This commit is contained in:
Orkun ÇAKILKAYA 2026-09-28 13:48:05 +03:00
parent f8fe157352
commit b17f1d7401
2 changed files with 9 additions and 0 deletions

View file

@ -339,6 +339,8 @@ export state Render3dState {
gvk_us_set: long = 0
gvk_us_draw: long = 0
gvk_n_draws: int = 0
gvk_cb_draws: int = 0 # draws recorded into the frame's command buffer so far
gvk_cb_cap: int = -1 # a command buffer is submitted after this many (0 = never; -1 unread)
gvk_n_asked: int = 0 # draws that reached gvk_draw_now: every one the renderer asked for
gvk_n_flush: int = 0
gvk_prof_frames: int = 0