Centralize retained UI GL dispatch

This commit is contained in:
2026-06-05 13:34:59 +02:00
parent 8f062fb0c4
commit 92fa5b224a
6 changed files with 122 additions and 265 deletions

View File

@@ -540,8 +540,8 @@ powershell -ExecutionPolicy Bypass -File scripts\automation\apple-remote-build.p
clear-color restore, active texture unit execution, fallback 2D texture
unbinds, 2D texture targets, copy targets, and sampler filters/wraps. Its
live stroke-mixer and brush-preview viewport, scissor, and depth/blend state
changes now execute through tested `pp_renderer_gl` dispatch with only local
OpenGL adapter endpoints retained.
changes now execute through tested `pp_renderer_gl` dispatch via the shared
`legacy_ui_gl_dispatch` bridge.
Retained `Canvas` stroke/thumbnail/object/export paths and `NodeCanvas`
panorama rendering use the same tested active-texture dispatch for
texture-unit switches, and their live viewport, scissor, and generic
@@ -552,7 +552,10 @@ powershell -ExecutionPolicy Bypass -File scripts\automation\apple-remote-build.p
clear-color query plus clear-color restore paths also use tested
`pp_renderer_gl` dispatch helpers. `NodeCanvas` saved viewport/clear-color
query, density/offscreen color clear, and clear-color restore paths use the
same helpers. Retained desktop HMD eye rendering also routes viewport
same helpers. `NodeCanvas` and `NodeStrokePreview` now share
`legacy_ui_gl_dispatch` for active texture, texture unbind, viewport/scissor,
clear-color, color-buffer clear, and capability query/apply adapter endpoints.
Retained desktop HMD eye rendering also routes viewport
execution through tested backend dispatch.
Legacy `Texture2D`, `TextureManager`, `Sampler`, and `RTT` public headers no
longer expose raw OpenGL enum defaults; default texture formats, sampler
@@ -855,6 +858,9 @@ powershell -ExecutionPolicy Bypass -File scripts\automation\apple-remote-build.p
`NodeImageTexture`, `NodeColorWheel`, `NodeAnimationTimeline`, `NodeScroll`,
`NodeText`, `NodeTextInput`, and `NodeViewport` blend-state, fallback
texture unbind, viewport, color clear, and clear-color restore paths,
plus retained `NodeCanvas` and `NodeStrokePreview` active-texture, fallback
texture unbind, viewport/scissor, clear-color, color-buffer clear, and
capability query/apply draw-state adapter endpoints,
tested convert-command state dispatch consumed by
`App::cmd_convert`, tested render platform hint dispatch consumed by
`WindowsPlatformServices` and the retained macOS legacy fallback, tested