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

@@ -447,9 +447,10 @@ powershell -ExecutionPolicy Bypass -File scripts\automation\apple-remote-build.p
RGBA8 region-update helper that uses the tested texture-update dispatch for
canvas undo, layer restore, and flood-fill texture writes. 2D
framebuffer-to-texture copies used by retained canvas, transform,
layer-conversion, panorama UI, and brush-preview paths now execute through a
tested `pp_renderer_gl` dispatch via `copy_framebuffer_to_texture_2d`; the
retained cube-map framebuffer copy remains tracked by `DEBT-0036`. It also
layer-conversion, panorama UI, brush-preview, and CanvasLayer cube-face paths
now execute through a tested `pp_renderer_gl` dispatch via the target-aware
retained framebuffer-copy utility bridge. That bridge remains retained until
renderer services own copy execution under `DEBT-0036`. It also
validates renderer API primitive-topology to OpenGL draw-mode mapping, Shape
index-type, fill/stroke primitive-mode, buffer target, static upload usage,
and vertex attribute component/normalization mapping used by
@@ -522,8 +523,9 @@ powershell -ExecutionPolicy Bypass -File scripts\automation\apple-remote-build.p
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.
`legacy_ui_gl_dispatch`; the cube-face framebuffer-to-texture copy now uses
the shared retained target-aware utility bridge and 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,
@@ -565,8 +567,8 @@ powershell -ExecutionPolicy Bypass -File scripts\automation\apple-remote-build.p
`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.
adapter endpoints, while its cube-face framebuffer-to-texture copy uses the
shared retained target-aware utility 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.