diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-24 20:01:35 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-24 20:01:35 -0500 |
| commit | 1d89b20c5f26f1078b50fef7e2c9cd5fbe2372d6 (patch) | |
| tree | 7e9b2a3708c8f9a3f047892cf4c2dc0964c0488a /runtime/src/thread_stacks.cpp | |
| parent | e3ca9305443653f3bc92795f40127fac29c1936e (diff) | |
xs_present_lazy_test: the presenter the device proxy builds on PresentX
From rung-414-on-main (24a19ae8f), where it found the reference cycle fixed two commits ago, adapted to this tree: PresentX is called at queue slot 30 (a queue is in the older layout until a fence reaches slot 16 or 17), and the runtime's window is destroyed by the thread that owns it, so the last check waits for it to go (up to two seconds) instead of looking once.
It compiles the proxy with LEONIDA_VULKAN_DEVICE, as gta6rt does, and checks: the frame events before the first present are the device's own; nothing is built before the first PresentX and one window after it; WaitFrameEventX stays the device's and counts from the same token source the presenter checks (an unissued token is E_INVALIDARG, an issued one is accepted); a second PresentX builds no second window; and the window goes with the device proxy.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions