Share retained runtime GL dispatch

This commit is contained in:
2026-06-05 15:30:33 +02:00
parent 0fb3bd09ac
commit 308fb13075
7 changed files with 67 additions and 35 deletions

View File

@@ -592,6 +592,9 @@ powershell -ExecutionPolicy Bypass -File scripts\automation\apple-remote-build.p
Retained RTT clear and masked-clear endpoints also share it for color-mask
query/apply, clear-color, and buffer-clear callbacks instead of owning a
local raw clear callback cluster.
App startup logging, Windows early context logging/window-title detection,
and shader capability detection now share `legacy_gl_runtime_dispatch` for
runtime string and extension enumeration callbacks.
Retained desktop HMD eye rendering also routes viewport
execution through tested backend dispatch.
Legacy `Texture2D`, `TextureManager`, `Sampler`, and `RTT` public headers no

File diff suppressed because one or more lines are too long

View File

@@ -889,7 +889,9 @@ OpenGL runtime version/vendor/renderer/GLSL string queries now also use a
tested `pp_renderer_gl` dispatch contract, leaving `App::init` to log the
result while the backend owns the query set and order. The Windows entrypoint
also uses that contract for early context logging and renderer-name window
title construction before replacing the temporary WGL context.
title construction before replacing the temporary WGL context. Retained runtime
info and extension query callback endpoints now share
`legacy_gl_runtime_dispatch`.
The default app clear color and color-buffer clear operation now dispatch
through `pp_renderer_gl` as well, moving another direct OpenGL operation out
of `App::clear` while preserving the current gray clear behavior; the live
@@ -2611,6 +2613,12 @@ Results:
clear-color, and buffer-clear callbacks, removing the local raw clear
callback cluster from `src/rtt.cpp` while RTT render-target execution remains
retained under DEBT-0036.
- Retained app startup logging, Windows early context logging/window-title
detection, and shader capability detection now share
`legacy_gl_runtime_dispatch` for runtime string and extension enumeration
callbacks, removing duplicated raw runtime-query clusters from `src/app.cpp`,
`src/main.cpp`, and `src/app_shaders.cpp` while runtime/capability probing
remains retained under DEBT-0036.
- Canvas draw-merge shader-blend selection now consumes the extracted
`pp_paint_renderer` stroke composite planner for current layer and primary
brush blend modes, while preserving legacy OpenGL compositing execution under