Repository navigation
Navigation frame drops: invisible walks stop doing visible-walk work - #312
Merged
Merged
Conversation
Stops are placed only by the visible walk. Detail, Home, Library, the player, Person, Search, Collection and Filmography placed their focus stops in the backdrop discovery walk, in every blur-source replay and in the text recorder as well. Those stops never reach the hit map (51 stops for a 24-episode show in discovery alone). DrawFrame::records_stops now gates them. A held modal surface records its text instead of rasterising it. A presented surface sits at appear 0 on the frame that renders the host snapshot, and it drew live there: Settings rasterised and uploaded 21 strings in the heaviest GPU frame a modal has (modal-100's cold cycle). ui::record_walk makes every painter record for the length of a prewarm walk, including the Painter::root() that Settings and every panel build for themselves. The page-dip prewarm walk uses it too. A held surface's text is queued on its capture frame and drained on the held frames after it, within the frame's one shared prewarm budget. PopoverMotion extends the hold while text is pending, bounded by SURFACE_TEXT_HOLD_MAX_MS (100 ms). New FRAMEDROP spans (text, host, src, warm, warmdrain) let the television attribute what remains. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…312) 6-settings-family and 12-filmography-detail-return diverged at frames 77 and 76 (all other counters zero) against PR #312's navigation-frame-drops commit; 1-boot-home-chip-grid stayed SAME. Both anchors present a held modal/panel. Attributed by replaying with each of the commit's two behaviour changes switched off individually: disabling DrawFrame::records_stops' gating left the divergence unchanged (and broke a second frame), ruling it out; reverting the held surface's text-recording path (PopoverMotion::tick no longer extending its hold while text is pending, the surface loop always drawing with Painter::root()) reproduced SAME with every counter zero on both. The hold extension moves PopoverMotion's own state on exactly the frame each anchor recorded a modal opening — the shape did not move (schema 3, state_fp 10638452537178981056 unchanged), so neither `rerecord` nor `rebaseline` applied to these anchors. Owner approved re-anchoring 2026-09-30 ("rerecord"). Both fixtures were recorded afresh, the old anchors removed and reimported with tools/plxnative-rec import, and anchor:true restored by hand in each manifest.json. Targets and Resolve pass with every difference counter at zero for all three committed fixtures. The closed alphabet did not move. Co-Authored-By: Claude Opus 5.5 <[email protected]>
GLinnik21
added a commit
that referenced
this pull request
Oct 1, 2026
…nel (#340) Fixture 12 diverged on frames 76-77 on the macOS CI runner (diverged=2, every named counter zero). The only changed term was the Filmography modal's surface phase: Opening -> Open two frames later than recorded. A presented surface stays held at appear 0 while text::prewarm_pending() (#312), and that queue drains under a wall-clock budget (text::drain_prewarm), so a slower CPU held the panel for more frames. Reproduced locally on efficiency cores (taskpolicy -c background): 3/4 replays DIVERGED at f=76/77 with the CI hashes. The observation is now an environmental input like the page capture's GPU readiness: the product loop samples the queue once before dispatch, the recorder records it (capture row gains "text", CaptureReadinessV2) or supplies the recorded one, and PopoverMotion::tick reads the latched value (text::surface_text_pending). The shape bump refuses the old recordings; all three anchors re-recorded with tools/plxnative-rec rerecord. Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cuts navigation hitches in the push / modal / deep TV benches by removing work nobody sees.
DrawFrame::records_stops()gates them at one shared point.ui::record_walkmakes every painter record for a prewarm walk, including screen-builtPainter::root()s; the held surface drains the text on the following held frames within the shared prewarm budget, bounded bySURFACE_TEXT_HOLD_MAX_MS(100 ms).FRAMEDROPspans (text,host,src,warm,warmdrain) for TV attribution.TV result (interleaved A/B, same session, each set freshly deployed and verify-deploy matched)
Missed refreshes per 100-cycle bench:
detail-transition and show-detail stay at 60 fps. The benches are still not at 0 missed: the remainder is mostly GPU backlog (
clearwaits after a backdrop blur-source refilter) and is out of scope here.Verification (pre-rebase commit 8eb3892; this is a clean rebase onto main)
cargo +nightly test --lib:test result: ok. 5126 passed; 0 failed; 7 ignoredcargo +nightly check --lib --no-default-features: cleanmake check:test result: ok. 5186 passed; 0 failed; 7 ignored,test result: ok. 102 passed; 0 failedmake: OKscreens::detail::tests::record_stops_places_nothing_outside_the_visible_walk,ui::containers::tests::a_held_surface_warms_its_text_instead_of_rasterising_it🤖 Generated with Claude Code