upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/cpp_unwind_test.cpp
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-30 09:57:00 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-30 09:57:00 -0500
commit8bd4b2fb9c6fc6e36422c45154a9cf632f3842c6 (patch)
tree7920374cb9b83f6953c68c6f72d0f4edd02b4507 /runtime/test/cpp_unwind_test.cpp
parent232f9e603aaa54aec75dfa95f72941a5edda8983 (diff)
Diagnostics: the frames the swap chain really shows, generated ones too (LEONIDA_CAPTURE_SHOWN=1)
With frame generation the screen shows a frame DLSS-G makes between each two the title renders, presented by Streamline on the native swap chain behind its proxy from a thread of its own; the capture at our present never saw those, so their ghosting and flashes could not be looked at. With LEONIDA_CAPTURE=<folder> and LEONIDA_CAPTURE_SHOWN=1 the native swap chain's Present and Present1 are hooked: right before each, the buffer about to be shown is copied on the queue the swap chain presents on (its GetDevice), a thread of ours waits for the copy and saves shown-<n>.png (half size) while a file named rec is in the folder, with shown-times.txt (<n> <our presents> <us>). Diagnostics builds only. AI-assisted (Claude). Tested on an RTX 4060 Ti (driver 616.64): builds with and without diagnostics; a run with frame generation to follow before it is pushed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/cpp_unwind_test.cpp')
0 files changed, 0 insertions, 0 deletions