diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-28 22:26:50 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-28 22:26:50 -0500 |
| commit | 9c2e37fa84efb661c9d2b6bda0c10c6173adce8b (patch) | |
| tree | 6cd6f743f433852beb00e621a1f2b3ffc0eb3fa1 /runtime/test/vk_queue_query_sync_test.cpp | |
| parent | c8bf0e7b6568f471b42540010e335ca6413d4c58 (diff) | |
Frame generation: the picture without the interface (kBufferTypeHUDLessColor), copied in front of the title's interface composite
On Series X the title presents one plane with its interface drawn into it, so frame generation had only the
picture with the interface and dragged it along in the generated frames. Before the title's interface composite
(one triangle, one instance of vertex 0602c2384acbb3b2 and pixel a78d088fa55aa495) into a texture it presents, the
plane is copied into one of two textures of ours in the draw's list (one copy a list, the list marked); when that
list is submitted the copy is noted, and the present after it tags the first copy of the presented texture as
kBufferTypeHUDLessColor (eValidUntilPresent, a copy's destination, the plane's size). A present with tags and no
copy removes an older one with a null tag. LEONIDA_FG_HUDLESS (on; 0 off); while frame generation is off (not
started, or the amount at 1) draws ask one atomic and nothing is copied or made. Log lines: "the picture without
the interface" (first copy, first tag, the textures made, and every 300 presents copies, tagged, missing,
overwritten, composites, others).
Ported from trustno1-coder/VIctory-NVIDIA 1d0fa87 (GPL-3.0-or-later): its streamline.rs INTERFACE_COMPOSITE,
before_target_draw, hudless_texture, hudless_submitted, hudless_for and draw.rs before_shown_target. Unlike it, a
copy whose texture of ours a later copy went into before its present is not tagged.
Tested: the new fg::hudless_tests (composite match, the copies' bookkeeping, presented textures, the switch) and
cargo build --profile diag -p leonida --features diagnostics,dlss,mimalloc. Not run in the title yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions