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.