Share retained framebuffer dispatch bridge

This commit is contained in:
2026-06-05 14:35:45 +02:00
parent 421f2713db
commit 84e63c0d34
6 changed files with 196 additions and 210 deletions

View File

@@ -1152,7 +1152,10 @@ render-target texture parameters and parameter dispatch, texture/renderbuffer
targets, depth format, framebuffer targets, binding queries, attachment points,
render-target framebuffer allocation/delete, binding restore, and completion
status used by `RTT::create`/`RTT::destroy` and framebuffer bind/restore paths,
also live in `pp_renderer_gl`. Depth renderbuffer allocation/storage/delete and
also live in `pp_renderer_gl`; retained `Texture2D` readback and RTT
framebuffer allocation, deletion, bind/restore, blit, readback, and PBO
readback dispatch now share the retained `legacy_gl_framebuffer_dispatch` raw
callback bridge. 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 and share the retained `legacy_gl_renderbuffer_dispatch` raw callback
@@ -2555,6 +2558,11 @@ Results:
`legacy_gl_texture_dispatch`, removing duplicated raw texture callbacks from
`src/texture.cpp` and `src/rtt.cpp` while texture resource ownership remains
retained under DEBT-0036.
- Retained `Texture2D` readback plus RTT framebuffer allocation, deletion,
bind/restore, blit, readback, and PBO readback dispatch now share
`legacy_gl_framebuffer_dispatch`, removing duplicated raw framebuffer and
readback callbacks from `src/texture.cpp` and `src/rtt.cpp` while
framebuffer/readback ownership remains retained under DEBT-0036.
- 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