Display: the title's screenshots save the last presented frame #1835
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1837"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by kais7654 on 2026-11-24T23:10:42Z.
The capture item in display (slot 0x28) failed as if capture were unavailable, and its comment spelled out what was missing: a hook in the GPU side reading the last presented frame back on request. Done. A screenshot now asks the next present to copy the back buffer into a readback buffer (the copy every present submission already waits for), maps its rows, and writes a full-size 8-bit RGB PNG to VICTORY_CAPTURE or ./screenshots, path in the log.
victory-gpu: new screenshot module carries the frame from present time (PENDING/PRESENTED/LAST, take polling to WAIT); read_back and the PNG chunking move here from capture, whose diagnostics path now shares it — one readback path instead of two copies of the same unsafe code. The API's result structure is not written: its layout is not known, the file is the answer.
Tests: PNG roundtrip (2x2 BGRA, pitch, filter bytes, zlib bytes) and a request clearing an older frame. victory-hle 97/97.
Generated by Mistral Vibe.
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-24T23:47:37Z.
Review: COMMENTED
Static review only: spans victory-gpu/victory-hle — both Windows-only; source review of the diff.
Title screenshots save the last presented frame (gpu+hle): readback path for screenshots; Windows-only, needs a Windows session with a real title frame.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T06:33:20Z.
Automated triage for the maintainers.
This pull request no longer merges cleanly into
main(conflicts incrates/victory-gpu/src/draw.rs). It will be reviewed once it is rebased onto the currentmain. The earlier verdict (needs work) was for an older state ofmain.Generated by Claude Code
upstream-sync referenced this pull request2026-11-25 09:06:15 +00:00
upstream-sync referenced this pull request2026-11-25 16:09:32 +00:00
upstream-sync referenced this pull request2026-11-25 19:06:07 +00:00
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.