Own Web platform services directly

This commit is contained in:
2026-06-17 16:02:26 +02:00
parent d80289665d
commit b5d3bc131d
9 changed files with 461 additions and 19 deletions

View File

@@ -70,6 +70,22 @@ What is already real:
- `pp_app_core`
Latest slice:
- `src/platform_web/web_platform_services.*` now owns the concrete WebGL
`PlatformServices` implementation as well as the narrower
`WebPlatformServices` helper surface.
- `webgl/src/main.cpp` now binds that owned concrete Web `PlatformServices`
instance directly instead of constructing the cross-platform
`platform_legacy` adapter around Web-specific injections.
- The touched Web render-context acquire/present, app-close dispatch,
file/image picker routing, prepared-file handoff, default render-target
binding, and default canvas / prepared-file policy path now route through
`src/platform_web/web_platform_services.*` instead of the fallback adapter.
- `pp_platform_api_tests` now compiles and exercises the concrete Web platform
service surface on the Windows host build, so the Web platform target is no
longer only indirectly covered through the narrower helper interface.
- `src/platform_legacy/legacy_platform_services.*` no longer has a live
platform-entrypoint consumer; it remains only as generic fallback scaffolding
still linked into the retained app target graph.
- `src/platform_web/web_platform_services.*` now owns the concrete Web
`PlatformServices` implementation and `webgl/src/main.cpp` now binds that
owned service directly at the WebGL entrypoint.