Promote stroke draw texture dispatch task

This commit is contained in:
2026-06-13 22:58:32 +02:00
parent d5c7c8c6ae
commit bbcaac708f

View File

@@ -573,6 +573,34 @@ Done Checks:
- Retained stroke OpenGL execution is deleted or isolated as an OpenGL backend
implementation.
### STR-020 - Extract Stroke Draw Main Pass Texture Dispatch
Status: Ready
Score: +1 renderer boundary and OpenGL parity
Debt: `DEBT-0036`
Scope: `src/canvas.cpp`, `src/legacy_canvas_stroke_execution_services.h`, `tests/paint_renderer/compositor_tests.cpp`
Goal:
Move the inline `Canvas::stroke_draw()` main-pass texture dispatch bundle into
a retained helper so the callsite keeps only branch selection plus concrete
texture/sampler wiring.
Done Checks:
- `Canvas::stroke_draw()` no longer builds the main-pass texture dispatch
bundle inline.
- Regression coverage proves the extracted helper preserves main-pass texture
callback order.
- `docs/modernization/debt.md` records the reduced stroke-draw texture
dispatch surface.
Validation:
```powershell
ctest --preset desktop-fast --build-config Debug -R "pp_paint_renderer_compositor|pp_paint_renderer_stroke_execution" --output-on-failure
```
Progress Notes:
- 2026-06-13: `NodeStrokePreview::draw_stroke_immediate()` now routes final