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

@@ -139,6 +139,16 @@ Current slice:
document-service provider/configuration surface or the touched Apple method
branches, so the retained fallback adapter is narrower and now focused on the
Android/Linux/Web path.
- `src/platform_web/web_platform_services.*` now owns the concrete WebGL
`PlatformServices` surface in addition to the narrower helper interface used
by `pp_platform_api` tests.
- `webgl/src/main.cpp` now binds that owned Web `PlatformServices` instance
directly instead of constructing the retained `platform_legacy` adapter.
- The touched Web render-context acquire/present, app-close dispatch,
file/image picker routing, prepared-file handoff, and default render-target
binding now route through `src/platform_web/web_platform_services.*`.
- `src/platform_legacy/legacy_platform_services.*` no longer has a live
platform-entrypoint consumer and is now down to generic fallback scaffolding.
- The previous Web narrowing step had already moved WebGL
publish/flush/default-canvas/save-prepared-file behavior off the old
`try_*legacy_web*` fallback path before this concrete Web service cut.