Extract stroke draw main pass texture dispatch

This commit is contained in:
2026-06-13 22:59:24 +02:00
parent bbcaac708f
commit 87e6c1118b
3 changed files with 82 additions and 1 deletions

View File

@@ -529,6 +529,10 @@ agent or engineer to remove them without reconstructing context from chat.
has regression coverage for retained mixer-state callback ordering through
`execute_legacy_canvas_stroke_mix_pass(...)`; the live path still owns the
concrete mixer framebuffer setup and GL capability toggles.
- 2026-06-13: DEBT-0036 was narrowed again. `Canvas::stroke_draw()` main-pass
texture dispatch now has regression coverage through
`make_legacy_canvas_stroke_main_pass_texture_dispatch(...)`; the live path
still owns the concrete texture objects and sampler state.
- 2026-06-13: DEBT-0036 was narrowed again. `Canvas::draw_merge` checkerboard
background shader setup and final merged-texture redraw setup now route
through `legacy_canvas_draw_merge_services.h`. The retained Canvas path still

View File

@@ -575,7 +575,7 @@ Done Checks:
### STR-020 - Extract Stroke Draw Main Pass Texture Dispatch
Status: Ready
Status: Done
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`
@@ -601,6 +601,12 @@ Validation:
ctest --preset desktop-fast --build-config Debug -R "pp_paint_renderer_compositor|pp_paint_renderer_stroke_execution" --output-on-failure
```
### Completed Task Log
| Date | Task | Score | Validation | Commit |
| --- | --- | --- | --- | --- |
| 2026-06-13 | STR-020 | +1 renderer boundary and OpenGL parity | `ctest --preset desktop-fast --build-config Debug -R "pp_paint_renderer_compositor|pp_paint_renderer_stroke_execution" --output-on-failure` | `pending` |
Progress Notes:
- 2026-06-13: `NodeStrokePreview::draw_stroke_immediate()` now routes final