upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/boot.md
diff options
context:
space:
mode:
authorSnooozs <0randale196@gmail.com>2026-11-25 23:28:38 +0100
committerSnooozs <0randale196@gmail.com>2026-11-25 23:28:38 +0100
commitf6cb4aedfc01d8e8421122643ea668ae71a6abf5 (patch)
tree642a065b7a806a1f241816b97770da8031c6a16e /docs/boot.md
parentd601736ced20708d5d2b0f60374d549701473405 (diff)
runtime: LEONIDA_DEV_OVERLAY shows what the runtime is doing over the title's window (RT-DEV-OVERLAY)
A click-through window of its own with its own thread: frame and submission rate, a submission's CPU time by phase, the phase running now, pipeline builds in flight, indirect draws, cores and memory. Off by default. submit_phases keeps per-phase counts of the threads inside a phase, so overlapping submissions of several queues leave none behind. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/boot.md')
-rw-r--r--docs/boot.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/boot.md b/docs/boot.md
index 4bc580c75..4f8f8b08f 100644
--- a/docs/boot.md
+++ b/docs/boot.md
@@ -129,6 +129,12 @@ Useful switches:
129 - the time since the first present. 129 - the time since the first present.
130 130
131 A thread of its own sets the text with `SendMessageTimeout`, so a busy window thread never holds a present. 131 A thread of its own sets the text with `SendMessageTimeout`, so a busy window thread never holds a present.
132* `LEONIDA_DEV_OVERLAY=1` (Windows) shows what the runtime is doing in a small click-through window over the top left
133 corner of the title's window, while that window is in front (`runtime/src/dev_overlay.h`): frames and submissions a
134 second, where a submission's CPU time goes, the phase that is running now and for how long, pipeline builds in
135 flight, indirect draws emitted and skipped, cores, memory. The figures cover the last two seconds. It has its own
136 thread, so it also counts while the title presents nothing, and it is in no capture. `LEONIDA_TITLE_HUD` shows frame
137 times and compile times in the title bar instead; both can be on.
132* `DISABLE_RTSS_LAYER=1` and `DISABLE_VULKAN_OBS_CAPTURE=1` when MSI Afterburner or OBS is installed; their 138* `DISABLE_RTSS_LAYER=1` and `DISABLE_VULKAN_OBS_CAPTURE=1` when MSI Afterburner or OBS is installed; their
133 implicit layers add swapchain usage that shows up as validation errors ([testing.md](testing.md), "Known 139 implicit layers add swapchain usage that shows up as validation errors ([testing.md](testing.md), "Known
134 problems"). 140 problems").