Remove dead legacy GLFW retained state

This commit is contained in:
2026-06-17 10:59:10 +02:00
parent 0a7961d8b3
commit 06bfd62546
9 changed files with 33 additions and 53 deletions

View File

@@ -70,6 +70,13 @@ What is already real:
- `pp_app_core`
Latest slice:
- `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_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,6 +78,13 @@ 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 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_legacy/legacy_platform_services.*` now uses an injected
`LegacyGlfwPlatformShell` for the remaining Linux/WebGL
acquire/present/request-close path.