Promote draw merge branch orchestration task
This commit is contained in:
@@ -2081,6 +2081,33 @@ Validation:
|
||||
ctest --preset desktop-fast --build-config Debug -R "pp_paint_renderer_compositor|pp_paint_renderer_stroke_execution" --output-on-failure
|
||||
```
|
||||
|
||||
### STR-048 - Extract Draw Merge Branch Orchestration Body
|
||||
|
||||
Status: Ready
|
||||
Score: no score movement
|
||||
Debt: `DEBT-0036`
|
||||
Scope: `src/canvas.cpp`, `src/legacy_canvas_draw_merge_services.h`, `tests/paint_renderer/compositor_tests.cpp`
|
||||
|
||||
Goal:
|
||||
|
||||
Move the remaining `Canvas::draw_merge_branch_orchestration()` body into
|
||||
retained helpers so the branch wrapper keeps only branch selection and helper
|
||||
dispatch.
|
||||
|
||||
Done Checks:
|
||||
|
||||
- `Canvas::draw_merge_branch_orchestration()` no longer owns the branch
|
||||
execution body inline.
|
||||
- Regression coverage proves the extracted helper preserves temporary erase,
|
||||
temporary paint, texture, and blend execution order.
|
||||
- `docs/modernization/debt.md` records the reduced draw-merge branch surface.
|
||||
|
||||
Validation:
|
||||
|
||||
```powershell
|
||||
ctest --preset desktop-fast --build-config Debug -R "pp_paint_renderer_compositor|pp_paint_renderer_stroke_execution" --output-on-failure
|
||||
```
|
||||
|
||||
### STR-010 - Extract Remaining Draw Merge Composite Orchestration
|
||||
|
||||
### STR-016 - Extract Draw Merge Layer Composite Execution
|
||||
|
||||
Reference in New Issue
Block a user