Repository navigation
Refactor 1/6: groundwork for the restructure - #96
Merged
Merged
Conversation
|
seaweeduk
force-pushed
the
refactor/wave-0
branch
from
November 22, 2026 20:14
b67b0fe to
45cf969
Compare
seaweeduk
force-pushed
the
fix/free-decoder-from-steam
branch
from
November 22, 2026 20:14
d3369f0 to
22680ca
Compare
Owner
Author
|
Already fixed higher in the stack. #99 (Refactor 4/6) changes |
seaweeduk
force-pushed
the
fix/free-decoder-from-steam
branch
from
November 22, 2026 20:58
22680ca to
0c86ba5
Compare
seaweeduk
force-pushed
the
refactor/wave-0
branch
from
November 22, 2026 20:58
45cf969 to
032431c
Compare
seaweeduk
changed the base branch from
fix/free-decoder-from-steam
to
master
November 22, 2026 20:58
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.
First layer of the structural refactor: groundwork that the later layers build on. Nothing changes for users.
Steps in this layer: P0-2, P0-3, P0-4.
P0-2: the menu can be laid out and drawn without a GPU.
CairoCanvasgets a surface-onlyinit(width, height, scale), andMenugetsinit()without anUploader,layOut(),draw(PanelId, cairo_t*)andworking(). The app's path is unchanged: with an uploader, each canvas makes the same call as before.P0-3: dead code removed (225 lines): the old focus hold reasons and the
FocusController::Statefields only they read, five strings with no reader in all seven languages,MenuView::panelBase, three unused row helpers and the linear accent,GestureMap::hasGesture,FolderListing::matchCount,StashImages::diskUsage,serverKindOf.P0-4: smaller headers. Pure moves, so a change rebuilds fewer files:
app_dirs.hconfigDir(),dataDir(),cacheDir()settings.hfoveation_level.hFoveationLeveland its helpersfoveation.hplayback_state.hPlaybackState,Track,Chaptervideo_player.heye_state.hEyeMatrices,GazeStatexr_context.hcontrol_map.hControlMap,GestureMapcontrols.hmenu_view.hMenuView,ScreenView,ControlsViewmenu.hvalue_ranges.hnow owns the numeric limits that it used to read fromvideo_memory.h,flat_screen.handscript_player.h, and those three include it instead.video_player.hfoveation.hcontrols.h/menu_command.hvideo_memory.hKnown and left as is
Menu::layOut()returns setup rows but does not run the app's button finalisation. A headless setup draw is not a pixel-for-pixel preview of the live panel.Menu::working()is not a barrier for all async UI work. Folder metadata and setup replies can land later, and hint artwork is collected bydrawHint(). The app still uses the uploader-backed path.Important
AI disclosure
anthropic/claude-opus-5-5highopenai/gpt-6.2-astrahighAgent harness OpenCode 2.3.2