From 1e4a6814be22f3c885c8373cbf917008c1b32aff Mon Sep 17 00:00:00 2001 From: omigamedev Date: Sun, 14 Jun 2026 00:19:22 +0200 Subject: [PATCH] Promote draw merge branch orchestration task --- docs/modernization/tasks.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/docs/modernization/tasks.md b/docs/modernization/tasks.md index 37162d6..e2f75f0 100644 --- a/docs/modernization/tasks.md +++ b/docs/modernization/tasks.md @@ -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