fix(vk): publish complete screenshot resource sets #1472
No reviewers
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot!1472
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/capture-resource-readiness"
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?
offscreen_initpublishesoff_imagebefore allocating the screenshot image and both mapped readbacks. If a later allocation fails, the next call sees that handle and reports success with an incomplete resource set. The generated-frame screenshot path also ignores allocation failures before recording barriers/copies.Build screenshot/offscreen resources locally, roll back partial allocations, and publish the complete set only on success. Give generated-frame shots the same complete image/readback readiness contract; failed setup clears the capture source before recording or scheduling a mapped read. A later present can retry, and ready resources are reused. Normal presentation and capture dimensions/formats keep their existing policies.
Validation:
offscreen_initon main reproduces partial published handles after an injected allocation failure.PR1025 adds screenshot requests but preserves this premature readiness marker/allocation logic. PR1352/1321 change captured contents/menu composition; this fix concerns resource readiness. PR1445 addresses the separate interpolation resources.
No game files, screenshots, binaries, captures or private logs included. Assisted-by trailer records tool assistance.
Current-head validation
Current head
95c5c1d, based on main7d1562d. Earlier local/runtime results describe their recorded source hashes.The standalone contribution patch is unchanged after the audited main refresh; exact-head build/source checks are refreshed below. Earlier runtime evidence remains tied to its recorded hash.
API12 integration validation at
eb08449: official matching host/backend build, Windows LLVM and Linux GCC/ASan/UBSan resource fixtures pass. Three view-lifetime/publication mutations fail causally. Native FG2 produced 3 decoded RGB3440x1440 normal screenshots, maximize/restore and exit0, with original checkpoint hashes unchanged. This runtime evidence remains attached to that recorded head.Fork runs are separate from upstream Actions approval; no maintainer approval gate is bypassed.