Centralize retained UI GL dispatch
This commit is contained in:
@@ -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
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1252,8 +1252,8 @@ texture unit execution, fallback 2D texture unbinds, 2D texture targets, copy
|
||||
targets, sampler filters/wraps, and destination-feedback copy/fetch decisions
|
||||
to `pp_renderer_gl` and `pp_paint_renderer`. Its live stroke-mixer and
|
||||
brush-preview viewport, scissor, and depth/blend state changes now also
|
||||
execute through tested `pp_renderer_gl` dispatch with only local OpenGL adapter
|
||||
endpoints retained.
|
||||
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 their
|
||||
texture-unit switches, and their live viewport, scissor, and generic
|
||||
@@ -1263,7 +1263,10 @@ snapshots now route through the same backend dispatch contracts. Retained
|
||||
generation, object drawing, and `LayerFrame::clear` saved viewport/clear-color
|
||||
query plus clear-color restore paths also use tested `pp_renderer_gl` dispatch
|
||||
helpers. `NodeCanvas` saved viewport/clear-color query, density target color
|
||||
clear, and clear-color restore paths use the same helpers.
|
||||
clear, and clear-color restore paths use the same helpers. `NodeCanvas` and
|
||||
`NodeStrokePreview` now share that retained UI GL dispatch bridge for
|
||||
active-texture, fallback texture unbind, viewport/scissor, clear-color,
|
||||
color-buffer clear, and capability query/apply adapter endpoints.
|
||||
Desktop HMD eye rendering now routes eye framebuffer viewport changes through
|
||||
the tested `pp_renderer_gl` viewport dispatch while platform VR SDK bridges
|
||||
remain isolated for later platform-shell extraction.
|
||||
@@ -2504,7 +2507,11 @@ Results:
|
||||
- Retained paint UI surface paths now use tested `pp_renderer_gl` viewport
|
||||
query, clear-color query, clear-color restore, and color-buffer clear helpers
|
||||
in `NodeCanvas` and `NodeStrokePreview`, removing direct query/clear calls
|
||||
from those draw bodies while keeping their legacy compositing order.
|
||||
from those draw bodies while keeping their legacy compositing order. Their
|
||||
active-texture, fallback texture unbind, viewport/scissor, clear-color,
|
||||
color-buffer clear, and capability query/apply adapter endpoints are now
|
||||
centralized in `legacy_ui_gl_dispatch` instead of being duplicated in each
|
||||
node implementation.
|
||||
- Retained Canvas stroke draw/commit, thumbnail, object-render, and
|
||||
`LayerFrame::clear` paths now use the same tested backend viewport query,
|
||||
clear-color query, and clear-color restore helpers, removing direct
|
||||
|
||||
Reference in New Issue
Block a user