Apply startup GL state through renderer GL

This commit is contained in:
2026-06-03 05:41:27 +02:00
parent 692fe08d9f
commit b2335b1656
7 changed files with 159 additions and 19 deletions

View File

@@ -514,10 +514,10 @@ 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.
Initial PanoPainter OpenGL depth/blend startup state is now represented by a
tested `pp_renderer_gl` `OpenGlInitialState` plan before the app applies it,
so the policy is owned by the renderer backend boundary instead of being
hard-coded inside `App::init`.
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
operation order.
Windows RenderDoc frame capture hooks now also dispatch through
`PlatformServices`, keeping capture integration in the platform service while
leaving non-Windows adapters as no-ops.