Own Web legacy platform services explicitly

This commit is contained in:
2026-06-17 12:05:52 +02:00
parent 680452983f
commit e343557a3f
8 changed files with 57 additions and 117 deletions

View File

@@ -78,6 +78,15 @@ Completed, blocked, and superseded task history moved to
the queue is now ordered by code movement instead.
Current slice:
- `src/platform_legacy/legacy_platform_services.*` now takes an explicit
`WebPlatformServices*` dependency through `create_platform_services(...)`
instead of routing WebGL publish/flush/default-canvas/save-prepared-file
behavior through retained `try_*legacy_web*` fallback helpers.
- `webgl/src/main.cpp` now creates the owned Web service first and threads it
directly into its owned legacy `PlatformServices` instance.
- `src/platform_legacy/legacy_platform_state.*` is down to the retained Web
service factory only; the old `active_legacy_web_platform_services()` and
`try_*legacy_web*` dispatch layer are gone.
- `src/platform_legacy/legacy_platform_services.*` no longer exposes the dead
`pp::platform::legacy::platform_services()` singleton accessor.
- Linux, WebGL, and Android were already on owned
@@ -194,9 +203,9 @@ Current slice:
singleton.
- `PanoPainter-OSX/main.cpp` and `PanoPainter/GameViewController.m` now seed
Apple-owned storage paths directly.
- `src/platform_legacy/legacy_platform_state.*` now exposes
`create_legacy_web_platform_services()` plus an explicit binding hook for the
retained Web service surface.
- `src/platform_legacy/legacy_platform_state.*` now only exposes
`create_legacy_web_platform_services()` for the retained default Web service
implementation.
- `webgl/src/main.cpp` now owns and binds the Web platform-services
implementation explicitly instead of relying only on the retained fallback
object in legacy platform state.