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

@@ -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