Share target-aware framebuffer copy bridge

This commit is contained in:
2026-06-05 14:07:46 +02:00
parent 2641db35ac
commit 65bf047d77
6 changed files with 69 additions and 55 deletions

View File

@@ -1153,10 +1153,11 @@ also live in `pp_renderer_gl`. Depth renderbuffer allocation/storage/delete and
framebuffer depth attach/detach sequences used by retained `RTT` and canvas
object-drawing helpers now execute through tested `pp_renderer_gl` dispatch
contracts. 2D framebuffer-to-texture
copies used by canvas, transform, layer-conversion, panorama UI, and brush
preview paths now route through a tested `pp_renderer_gl` copy dispatch via the
retained `copy_framebuffer_to_texture_2d` utility bridge; the remaining cube-map
copy is tracked under `DEBT-0036`. RTT render-target clear, masked color clear
copies used by canvas, transform, layer-conversion, panorama UI, brush preview,
and CanvasLayer cube-face generation paths now route through a tested
`pp_renderer_gl` copy dispatch via the retained target-aware framebuffer-copy
utility bridge. The copy bridge remains retained until renderer services own
cube and 2D framebuffer copy commands under `DEBT-0036`. RTT render-target clear, masked color clear
with color-write-mask restore, and texture bind/unbind dispatch now execute
through `pp_renderer_gl`; renderer API render-pass color/depth/stencil
clear-mask and clear-value mapping, and color-write-mask query tokens also live
@@ -1232,8 +1233,9 @@ 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.
the cube-face framebuffer-to-texture copy now uses the shared retained
target-aware utility bridge and 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
@@ -2501,8 +2503,9 @@ Results:
`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.
backend dispatch contracts. The cube-face framebuffer-to-texture copy now
uses the shared retained target-aware utility bridge and remains tracked by
DEBT-0036 until renderer services own copy execution.
- `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