Trim legacy web binding and Win32 pointer state

This commit is contained in:
2026-06-17 11:06:02 +02:00
parent 06bfd62546
commit cf2fcd36e4
8 changed files with 27 additions and 53 deletions

View File

@@ -70,13 +70,16 @@ What is already real:
- `pp_app_core`
Latest slice:
- `src/platform_legacy/legacy_platform_state.*` no longer keeps its own
retained Web platform-service binding; the legacy Web helper path now uses
the shared `platform_api` injection surface instead.
- `src/platform_legacy/legacy_platform_state.*` no longer carries any retained
GLFW window state; the leftover `set_legacy_glfw_window*` surface is gone.
- `linux/src/main.cpp` and `webgl/src/main.cpp` no longer seed legacy GLFW
retained state at startup.
- `src/platform_windows/windows_window_shell.cpp` no longer keeps a function-
local `lastPoint` static inside the Win32 window proc; that mouse-position
state now lives in the retained runtime shell session pocket.
- `src/platform_windows/windows_window_shell.cpp` no longer keeps any retained
mouse-position pocket for button events; it now reads client coordinates
directly from the Win32 messages that already carry them.
- `src/platform_legacy/legacy_platform_services.*` now accepts an injected
`LegacyGlfwPlatformShell` for Linux/WebGL `acquire_render_context`,
`present_render_context`, and app-close callbacks.