Route NodeCanvas blend setup through helper

This commit is contained in:
2026-06-13 05:10:37 +02:00
parent 93488d0790
commit ea1557f7ea
4 changed files with 51 additions and 7 deletions

View File

@@ -18,6 +18,12 @@ agent or engineer to remove them without reconstructing context from chat.
## Recent Reductions
- 2026-06-13: DEBT-0036 was narrowed again. `NodeCanvas` non-stroke
`TextureBlend` shader setup now routes through
`legacy_canvas_draw_merge_services.h`, including the optional destination
texture uniform only when blend destination copies are used. NodeCanvas still
owns panorama layer traversal, onion-frame drawing, blend destination copies,
sampler/texture binding, framebuffer lifetime, and draw ordering.
- 2026-06-13: DEBT-0036 was narrowed again. `NodeCanvas` now reuses
`legacy_canvas_draw_merge_services.h` for retained checkerboard grid shader
setup and the final cached-layer texture redraw setup. NodeCanvas still owns

View File

@@ -3000,6 +3000,11 @@ Results:
setup helper for checkerboard grids and final cached-layer texture redraws;
onion-frame traversal, blend copies, texture binding, and draw order remain
retained in the node.
- `NodeCanvas` non-stroke layer blending now shares the retained draw-merge
shader setup helper for `TextureBlend` uniforms, preserving the optional
destination texture uniform when copy-based blending is active. Framebuffer
lifetime, destination copies, texture binding, and draw execution remain
local to the node.
- Canvas thumbnail layer blending now uses the same canvas destination-feedback
plan for framebuffer-fetch versus texture-copy decisions; the thumbnail draw
itself still executes through retained OpenGL canvas code under DEBT-0036.