Bind Win32 app shell and move more legacy platform state

This commit is contained in:
2026-06-17 01:54:59 +02:00
parent 3cbc88fe78
commit 5c8a87faa0
11 changed files with 185 additions and 123 deletions

View File

@@ -1202,6 +1202,15 @@ Why now:
platform-handle state on `App`, which blocks a real `pp_platform_*` shell split.
Current slice:
- The retained Web fallback service object and the Apple storage-path
preparation helper now also live in
`src/platform_legacy/legacy_platform_state.*` instead of being built inline
in `src/platform_legacy/legacy_platform_services.cpp`, which trims another
retained fallback/state pocket out of the legacy platform shell.
- The touched Win32 shell path no longer reaches `App::I` directly for
window-procedure dispatch, stylus state updates, lifecycle shutdown, or VR
callback/thread setup; `src/platform_windows/windows_runtime_shell.*` now
binds the active `App*` explicitly and clears that binding on shutdown.
- Windows VR session snapshot ownership no longer lives on `App`.
- `VrSessionSnapshot` now lives behind
`src/platform_windows/windows_vr_shell.h` and