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.

View File

@@ -78,13 +78,16 @@ Completed, blocked, and superseded task history moved to
the queue is now ordered by code movement instead.
Current slice:
- `src/platform_legacy/legacy_platform_state.*` no longer keeps a separate
retained Web platform-service binding; the Web helper path now uses the
shared `platform_api` injection hook.
- `src/platform_legacy/legacy_platform_state.*` no longer keeps any retained
GLFW window state.
- `linux/src/main.cpp` and `webgl/src/main.cpp` no longer seed legacy GLFW
retained state.
- `src/platform_windows/windows_window_shell.cpp` no longer keeps a local
static mouse-position pocket; the Win32 window proc now reads that state
through the retained runtime shell session helpers.
- `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 uses an injected
`LegacyGlfwPlatformShell` for the remaining Linux/WebGL
acquire/present/request-close path.