Remove legacy platform singleton accessor
This commit is contained in:
@@ -70,6 +70,19 @@ What is already real:
|
||||
- `pp_app_core`
|
||||
|
||||
Latest slice:
|
||||
- `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
|
||||
`create_platform_services(...)` instances, so removing that legacy singleton
|
||||
surface does not change the live entrypoint ownership path.
|
||||
- `src/platform_windows/windows_runtime_state.*` now owns the Win32 bound-app
|
||||
and bound-tablet bindings beside the retained owned `App`, `AppRuntime*`,
|
||||
and `WacomTablet` objects instead of leaving that binding surface in
|
||||
`windows_runtime_shell.cpp`.
|
||||
- `src/platform_windows/windows_runtime_shell.h` is now a thinner runtime
|
||||
entrypoint header that picks up the retained binding surface from
|
||||
`windows_runtime_state.h` instead of declaring a second shell-owned binding
|
||||
API.
|
||||
- `src/platform_windows/windows_runtime_session.*` now owns the bound-session
|
||||
Win32 runtime loop/startup/shutdown body that had still been sitting inside
|
||||
`windows_runtime_flow.cpp`.
|
||||
@@ -206,8 +219,8 @@ Latest slice:
|
||||
`PlatformServices` instance in `android_main()` and binds that owned service
|
||||
into `App` instead of binding the process-global fallback directly.
|
||||
- `src/platform_legacy/legacy_platform_services.*` now exposes an ownable
|
||||
`create_platform_services()` entrypoint alongside the legacy fallback
|
||||
accessor.
|
||||
`create_platform_services()` entrypoint for explicit per-entrypoint
|
||||
ownership.
|
||||
- `linux/src/main.cpp` now owns a local legacy `PlatformServices` instance and
|
||||
binds it into `App` explicitly instead of binding the process-global legacy
|
||||
accessor directly.
|
||||
@@ -215,9 +228,8 @@ Latest slice:
|
||||
`pp::platform::legacy::platform_services()` when `App` has no bound platform
|
||||
services; the live app path now expects explicit platform-service ownership.
|
||||
- `linux/src/main.cpp`, `webgl/src/main.cpp`, and `android/src/cpp/main.cpp`
|
||||
now bind `pp::platform::legacy::platform_services()` explicitly at app
|
||||
creation instead of relying on the hidden fallback in `App` event/platform
|
||||
dispatch.
|
||||
now bind owned `create_platform_services(...)` instances at app creation
|
||||
instead of relying on a hidden fallback in `App` event/platform dispatch.
|
||||
- `src/platform_windows/windows_runtime_shell.cpp` now owns the Windows tablet
|
||||
object directly; the composition edge no longer binds `&WacomTablet::I` into
|
||||
the Windows runtime path.
|
||||
|
||||
Reference in New Issue
Block a user