Route NodeCanvas erase setup through helper

This commit is contained in:
2026-06-13 05:17:10 +02:00
parent b46b2c3184
commit a57d9f18f2
4 changed files with 67 additions and 6 deletions

View File

@@ -18,6 +18,11 @@ agent or engineer to remove them without reconstructing context from chat.
## Recent Reductions
- 2026-06-13: DEBT-0036 was narrowed again. `NodeCanvas` live temporary-erase
`CompErase` shader setup now routes through
`legacy_canvas_stroke_erase_services.h`; the retained node path still owns
per-onion-frame alpha updates, texture binding, temporary erase texture
selection, and draw execution.
- 2026-06-13: DEBT-0036 was narrowed again. `NodeCanvas` live temporary-stroke
`CompDraw` shader setup now routes through
`legacy_canvas_stroke_composite_services.h`; the retained node path still

View File

@@ -3005,6 +3005,10 @@ Results:
composite shader setup helper for static `CompDraw` uniforms, while keeping
per-onion-frame alpha updates, texture binding, temporary stroke texture
selection, and draw execution in the retained node path.
- `NodeCanvas` live temporary-erase drawing now uses a retained stroke erase
shader setup helper for `CompErase` uniforms, while keeping per-onion-frame
alpha updates, texture binding, temporary erase texture selection, and draw
execution in the retained node path.
- `Canvas::stroke_draw_mix` now shares the retained stroke composite shader
helper for mixer-pass `CompDraw` setup, while preserving its caller-specific
texture slot uniforms. Mixer framebuffer/scissor state, sampler and texture