Repository navigation
Conversation
63d70f3 to
7b61143
Compare
…e pacing (#891/#1198/#1237/#939), and capture guard (#1223) - Composite unflagged 2-plane PresentX UI overlays (SDR+SDR, HDR10+HDR10, SDR+HDR10) while keeping HDR10 + unflagged SDR GameDVR copy exclusion (clean-room concept from Marvisak/VIctory #211, GPL-3.0). - Guard VulkanPresenter::make_capture_buffer() against null vkGetPhysicalDeviceMemoryProperties_ before buffer allocation (ProjectLeonida/mandy#1223). - Cancel FramePacer waits spanning suspend/resume/re-registration via suspend_generation_ (ProjectLeonida/mandy#1237). - Add O(1) age-indexed retained token lookup with FrameTokenSource-safe binary-search fallback and pre-issue record append (ProjectLeonida/mandy#1198). - Add BL-6 frame-pacing drift and latency percentile reporting (p50/p95/p99, suspend-gap exclusion, teardown summary log) (ProjectLeonida/mandy#891). - Wire current_origin_poll into FramePacer from XboxPresentation (ProjectLeonida/mandy#939).
|
Reviewed 7b61143: built and ran |
Origin waits append consecutive tokens to the 64-record history. Index the matching record from the back and reuse it during present, statistics and retirement. Advance the issued counter only after appending succeeds, so a failed allocation cannot leave a hole in the history.
7b61143 to
475d6b2
Compare
Claimed in the coordination issue as direct lookup of retained FramePacer records.
What and why
Several FramePacer operations scan the same retained history to find one frame token. The shared token source can issue tokens that the pacer never records. Search the retained records by unsigned age and verify the token ID. This gives one binary lookup for statistics, present timing, and retirement while preserving missing and expired token behavior under the existing lock.
Tested
43a9d562d.GPUs tested: N/A. The frame-pacer fixture uses a simulated clock.
AI-assisted: yes.
Checklist
main(43a9d562d).