From 92c830ed640b448776ed75bb2755d5ccc416400c Mon Sep 17 00:00:00 2001 From: omigamedev Date: Sat, 13 Jun 2026 23:03:02 +0200 Subject: [PATCH] Promote stroke draw dual brush dispatch task --- docs/modernization/tasks.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/modernization/tasks.md b/docs/modernization/tasks.md index 3e99735..d0b8a91 100644 --- a/docs/modernization/tasks.md +++ b/docs/modernization/tasks.md @@ -640,6 +640,34 @@ ctest --preset desktop-fast --build-config Debug -R "pp_paint_renderer_composito | --- | --- | --- | --- | --- | | 2026-06-13 | STR-021 | +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` | `d12b5797` | +### STR-022 - Extract Stroke Draw Dual Brush Tip 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 dual-pass brush-tip dispatch bundle in `Canvas::stroke_draw()` +into a retained helper so the dual-brush branch keeps only concrete texture +object wiring and branch selection. + +Done Checks: + +- `Canvas::stroke_draw()` no longer builds the dual-pass brush-tip dispatch + bundle inline. +- Regression coverage proves the extracted helper preserves dual-brush tip + callback order. +- `docs/modernization/debt.md` records the reduced dual-pass 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