Retain Apple bridge services and bind Win32 runtime

This commit is contained in:
2026-06-17 01:44:20 +02:00
parent fd462dc406
commit 3cbc88fe78
9 changed files with 311 additions and 203 deletions

View File

@@ -1154,6 +1154,11 @@ Current slice:
also live in `src/platform_legacy/legacy_platform_state.*`, and
`src/platform_legacy/legacy_platform_services.cpp` now consumes those
snapshots without direct `App::I` reads in the touched paths
- the retained Apple document bridge now also lives behind
`active_legacy_apple_document_platform_services()` in
`src/platform_legacy/legacy_platform_state.*` instead of being built inline
inside `src/platform_legacy/legacy_platform_services.cpp`, and that retained
service resets when seeded Apple handles change
- retained Apple callback injection and broader `platform_legacy` singleton
reach are still open
- the `platform_legacy`-mirrored Apple/GLFW handle cluster is now seeded
@@ -1210,6 +1215,11 @@ Current slice:
- `App` also no longer owns `and_app` or `and_engine`; the retained Android
entrypoint now seeds only the explicit legacy platform storage snapshot
needed by touched platform services.
- Win32 main-thread task dispatch also no longer reaches `AppRuntime` through
`App::I`; `src/platform_windows/windows_runtime_shell.*` now binds the
active runtime explicitly and
`src/platform_windows/windows_platform_services.cpp` consumes that bound
runtime for enqueue/drain.
- `App` still owns broader retained legacy platform state, so this remains a
live ownership task.