Route VR stroke setup through helpers

This commit is contained in:
2026-06-13 05:25:36 +02:00
parent c3af4518a6
commit 96a13eec72
3 changed files with 42 additions and 31 deletions

View File

@@ -3013,6 +3013,10 @@ Results:
now share the stroke erase shader setup helper, while texture binding, mask
RTT binding, dirty/layer mutation, framebuffer feedback, and draw execution
remain in retained Canvas code.
- Desktop VR temporary erase/draw compositing now shares the retained stroke
erase and composite shader setup helpers, while sampler/texture binding,
per-eye/view transforms, temporary stroke texture selection, and draw
execution remain in retained VR code.
- `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