Move render debug state setup into GL backend

This commit is contained in:
2026-06-04 20:12:54 +02:00
parent 1b771287f9
commit 51601adf6d
7 changed files with 123 additions and 21 deletions

View File

@@ -763,11 +763,15 @@ through `PlatformServices`, preserving the existing iOS drawable bind in the
legacy adapter while removing the iOS drawable branch from `App::draw`.
Initial render platform hints now also dispatch through `PlatformServices`,
preserving the previous Windows/macOS program-point-size and line-smoothing
enablement while removing the Windows/macOS branch from `App::init`.
enablement while removing the Windows/macOS branch from `App::init`. The
Windows service now delegates the actual OpenGL program-point-size and
line-smooth enable sequence to a tested `pp_renderer_gl` dispatch helper, so
the platform shell no longer owns those backend state tokens.
Windows OpenGL debug callback setup now dispatches through `PlatformServices`,
moving Win32 console coloring, debug-output enablement, and debug-break callback
behavior into `WindowsPlatformServices` while keeping other platform adapters
as no-ops.
moving Win32 console coloring and debug-break callback behavior into
`WindowsPlatformServices` while keeping other platform adapters as no-ops; the
debug-output/debug-output-synchronous state enable sequence is now a tested
`pp_renderer_gl` backend helper consumed by the Windows service.
Initial PanoPainter OpenGL depth/blend startup state is now represented and
applied by tested `pp_renderer_gl` startup-state contracts; `App::init`
delegates to the backend dispatch path instead of hard-coding the policy or