upleb.uk

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

summaryrefslogtreecommitdiff
path: root/docs/d3d12_vulkan.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/d3d12_vulkan.md')
-rw-r--r--docs/d3d12_vulkan.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/d3d12_vulkan.md b/docs/d3d12_vulkan.md
index 019f66fa2..49d6a93de 100644
--- a/docs/d3d12_vulkan.md
+++ b/docs/d3d12_vulkan.md
@@ -3137,6 +3137,13 @@ queue they came on (one `VkQueue` behind all of them).
3137 presents a loading screen with `Token = 0`, presents again with one token, or presents from a render thread out of 3137 presents a loading screen with `Token = 0`, presents again with one token, or presents from a render thread out of
3138 order must not freeze. So those are presented anyway and logged once per kind; only a token that was never handed 3138 order must not freeze. So those are presented anyway and logged once per kind; only a token that was never handed
3139 out gives `E_INVALIDARG` (nothing presented). Skipping a token is fine. 3139 out gives `E_INVALIDARG` (nothing presented). Skipping a token is fine.
3140- *Frame capture* (`LEONIDA_CAPTURE=<dir>`, `LEONIDA_CAPTURE_EVERY=<n>`, `LEONIDA_CAPTURE_LIMIT=<n>`): writes
3141 every n-th presented frame (default 30, at most 24) to `<dir>/frame_NNNNN.ppm`, a binary P6 of the swapchain image
3142 converted to 8-bit RGB, and appends one line per frame to `<dir>/index.txt` with the extent and the mean RGB. Off
3143 unless the variable is set, and the folder is created. This is what a check reads when it has to know what the
3144 layer actually presented: the window is not readable in every setup (under Wine it is not even mapped), and the
3145 mean is enough to tell a real frame from a black one. `d3d12_present_test` turns it on and checks the files against
3146 the colour it clears to.
3140- *`SuspendX`/`ResumeX`*: suspend drops the interval, the origin event and the frames in flight, wakes blocked waits 3147- *`SuspendX`/`ResumeX`*: suspend drops the interval, the origin event and the frames in flight, wakes blocked waits
3141 with `ERROR_INVALID_STATE` and refuses presents (a `PresentX` waiting for a swapchain image polls the suspended 3148 with `ERROR_INVALID_STATE` and refuses presents (a `PresentX` waiting for a swapchain image polls the suspended
3142 state every 50 ms and gives up, so `SuspendX` never waits on it); resume allows presents again, but waits fail until 3149 state every 50 ms and gives up, so `SuspendX` never waits on it); resume allows presents again, but waits fail until