Share CanvasLayer GL dispatch adapters

This commit is contained in:
2026-06-05 14:00:33 +02:00
parent 745a5898da
commit 2641db35ac
5 changed files with 50 additions and 110 deletions

View File

@@ -518,8 +518,12 @@ powershell -ExecutionPolicy Bypass -File scripts\automation\apple-remote-build.p
paths also consume backend-owned blend-state tokens.
Canvas layer cube/equirect generation, clear, restore, and snapshot paths
also consume backend-owned cube/2D texture targets, active texture units,
cube texture binding, blend/clear state, viewport execution, target-aware
framebuffer-to-texture copies, and RGBA8 read/write pixel mapping.
cube texture binding, blend/clear state, viewport execution, color-buffer
clear, clear-color query/restore, and RGBA8 read/write pixel mapping. Their
active-texture, cube-texture binding, viewport, blend capability,
clear-color, and color-buffer clear adapter endpoints now share
`legacy_ui_gl_dispatch`; the retained cube-face framebuffer-to-texture copy
remains tracked by DEBT-0036.
`NodePanelGrid` heightmap preview and lightmap baking also consume
backend-owned texture readback formats, sampler filters, depth/blend state,
depth clears, viewport queries, color-mask booleans, active texture units,
@@ -558,6 +562,11 @@ powershell -ExecutionPolicy Bypass -File scripts\automation\apple-remote-build.p
`CanvasMode` overlay, mask, transform, and canvas-tip pick paths now also
share that bridge for active texture, capability query/apply, viewport,
read-framebuffer query, and RGBA8 pixel-readback adapter endpoints.
`CanvasLayer` cube/equirect generation and frame clears also share the bridge
for active texture, cube texture binding, viewport execution, blend
capability execution, clear-color query/restore, and color-buffer clear
adapter endpoints, while its cube-face framebuffer-to-texture copy remains a
retained local copy bridge.
`NodePanelGrid` heightmap draw and bake setup also shares it for active
texture, depth/blend capability query/apply, viewport query/execution, depth
clears, and color-write-mask adapter endpoints.

File diff suppressed because one or more lines are too long

View File

@@ -1228,8 +1228,12 @@ Simple UI text, text-input, border, scroll, and animation timeline draw paths
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, cube texture
binding, and RGBA8 read/write pixel mapping to `pp_renderer_gl`.
viewport execution, cube texture binding, color-buffer clears, clear-color
query/restore, and RGBA8 read/write pixel mapping to `pp_renderer_gl`. Its
active-texture, cube-texture binding, viewport, blend capability, clear-color,
and color-buffer clear adapter endpoints now share `legacy_ui_gl_dispatch`;
the retained cube-face framebuffer-to-texture copy remains tracked under
DEBT-0036 until a renderer-owned cube copy command replaces it.
`NodePanelGrid` heightmap preview and lightmap baking now delegate texture
readback formats, sampler filters, depth/blend state, depth clears, viewport
queries, color-mask booleans, active texture units, and float render-target
@@ -2493,10 +2497,12 @@ Results:
- Canvas layer merge rendering and explicit layer-merge compositing now route
depth/blend state, active texture units, fallback 2D texture unbinds, and
merge framebuffer copy targets through the renderer GL backend mapping.
- Canvas layer cube/equirect generation and frame clears now route blend state,
active texture units, viewport execution, color clears, and cube-face
framebuffer-to-texture copies through tested renderer GL backend dispatch
contracts.
- Canvas layer cube/equirect generation and frame clears now share
`legacy_ui_gl_dispatch` for active-texture selection, cube texture binding,
viewport execution, blend capability execution, clear-color query/restore,
and color-buffer clear adapter endpoints backed by tested renderer GL
backend dispatch contracts. The cube-face framebuffer-to-texture copy remains
the retained local copy bridge tracked by DEBT-0036.
- `NodePanelGrid` live heightmap drawing and bake setup now route depth/blend
state, depth clears, color-write-mask toggles, active texture selection, and
bake viewport execution through tested renderer GL backend dispatch