Thin Windows runtime globals and legacy GLFW hooks

This commit is contained in:
2026-06-17 09:51:25 +02:00
parent 25eff166f6
commit 4c91701e11
9 changed files with 43 additions and 54 deletions

View File

@@ -70,6 +70,9 @@ What is already real:
- `pp_app_core`
Latest slice:
- `src/platform_windows/windows_runtime_shell.cpp` no longer keeps a separate
retained `AppRuntime*` binding; the touched Windows shell and platform
helpers now derive runtime ownership directly from the owned `App`.
- `src/platform_windows/windows_runtime_shell.cpp` now explicitly owns the
Windows `App` lifetime through a retained `std::unique_ptr<App>` instead of
raw `new`/`delete` plus shutdown-side manual cleanup in the lifecycle shell.
@@ -79,6 +82,10 @@ Latest slice:
- `src/platform_windows/windows_window_shell.cpp` now routes the touched
key-map and VR-state reads through narrow helpers instead of keeping the
broader retained-state bundle live across the main window-proc body.
- `src/platform_legacy/legacy_platform_state.*` no longer exposes the mutable
retained GLFW hook bundle; Linux/Web fallback render-context/present/close
calls now go through narrow GLFW helper functions instead of an exported hook
struct.
- `scripts/automation/quiet-validate.ps1` is now the bundled checkpoint path
for Windows build/test plus optional platform and Apple remote validation,
with one compact JSON summary under `out/logs/quiet-validation`.

View File

@@ -78,6 +78,9 @@ Completed, blocked, and superseded task history moved to
the queue is now ordered by code movement instead.
Current slice:
- `src/platform_windows/windows_runtime_shell.cpp` no longer keeps a separate
retained `AppRuntime*`; the touched Windows lifecycle and main-thread task
dispatch paths now derive runtime ownership directly from the owned app.
- `src/platform_windows/windows_runtime_shell.cpp` now owns the Windows `App`
through a retained `std::unique_ptr<App>`, so startup/early-return/convert
paths no longer manage raw `new`/`delete` app lifetime manually.
@@ -87,6 +90,9 @@ Current slice:
- `src/platform_windows/windows_window_shell.cpp` now routes the touched
key-map synchronization and VR close state through narrow helpers instead of
carrying the broader retained window bundle live across the window-proc path.
- `src/platform_legacy/legacy_platform_state.*` no longer exports the mutable
retained GLFW hook bundle; Linux/Web fallback render-context, present, and
app-close paths now route through narrow GLFW helper functions instead.
- `scripts/automation/quiet-validate.ps1` now owns the recommended quiet
checkpoint path and can bundle Windows build/test, Android/platform sweeps,
and Apple remote compile gates into one compact JSON summary with