Share retained stroke mix pass helper

This commit is contained in:
2026-06-13 10:54:28 +02:00
parent 87e51c37be
commit 3d4d0f99d1
5 changed files with 164 additions and 43 deletions

View File

@@ -3128,6 +3128,11 @@ Results:
triangulation, sample-point assembly, and retained destination-copy / upload
/ draw helper handoff, while direct GL callback wiring and the remaining
live draw ownership stay in the legacy Canvas path.
- `Canvas::stroke_draw_mix()` now shares
`execute_legacy_canvas_stroke_mix_pass(...)` for visible-plane filtering,
retained sampler/texture-slot binding, and final plane draw ordering, while
mixer framebuffer/state setup and per-plane shader material/MVP preparation
remain in the legacy Canvas path.
- `NodeStrokePreview::stroke_draw_mix()` now shares one local helper for mixer
framebuffer bind/unbind, viewport/scissor/blend state, texture-slot
binding, and final plane draw, while material planning and shader uniform