Route UI leaf render state through GL dispatch

This commit is contained in:
2026-06-04 22:53:07 +02:00
parent 7ade927beb
commit b65db6f617
13 changed files with 213 additions and 45 deletions

View File

@@ -1081,18 +1081,19 @@ Canvas undo/redo dirty-region texture updates and readbacks now also delegate
their 2D texture target, RGBA pixel format, and unsigned-byte component type
mapping to `pp_renderer_gl`.
`NodeViewport` preview rendering now also delegates viewport query,
clear-color query, color-buffer clear mask, and blend-state tokens to
`pp_renderer_gl`.
clear-color query, color-buffer clear mask, viewport execution, color clear,
clear-color restore, and blend-state execution through the shared
`legacy_ui_gl_dispatch` adapter and `pp_renderer_gl` mappings.
`NodeImageTexture` preview drawing now delegates its fallback 2D texture bind
target and blend-state tokens to `pp_renderer_gl`.
and blend-state execution through the shared UI GL adapter.
`NodeImage` drawing and remote-image texture creation now delegate mipmapped
sampler filters, blend-state tokens, and RGBA8/RGBA texture format mapping to
`pp_renderer_gl`.
sampler filters, blend-state execution, and RGBA8/RGBA texture format mapping
to `pp_renderer_gl`.
`NodeColorWheel` triangle-buffer setup and draw-state handling now delegate
array-buffer, static-upload, vertex-attribute, primitive-mode, and blend-state
tokens to `pp_renderer_gl`.
execution to `pp_renderer_gl`.
Simple UI text, text-input, border, scroll, and animation timeline draw paths
now also delegate blend-state tokens to `pp_renderer_gl`.
now also execute blend-state changes through the shared UI GL adapter.
Canvas layer cube/equirect generation, clear, restore, and snapshot paths now
also delegate cube/2D texture targets, active texture units, blend/clear state,
viewport execution, target-aware framebuffer-to-texture copies, and RGBA8
@@ -2059,6 +2060,12 @@ Results:
state, depth clears, color-write-mask toggles, active texture selection, and
bake viewport execution through tested renderer GL backend dispatch
contracts.
- Retained simple UI draw paths now share `legacy_ui_gl_dispatch` for
blend-state execution, fallback 2D texture unbinds, `NodeViewport` viewport
query/restore, color-buffer clear, and clear-color restore. This covers
`NodeBorder`, `NodeImage`, `NodeImageTexture`, `NodeColorWheel`,
`NodeAnimationTimeline`, `NodeScroll`, `NodeText`, `NodeTextInput`, and
`NodeViewport` without changing their legacy draw ordering.
- 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