From 86777b26b5deb543093541755b462eedfa3da6bb Mon Sep 17 00:00:00 2001 From: omigamedev Date: Sat, 13 Jun 2026 18:28:15 +0200 Subject: [PATCH] Promote STR-011 preview main-pass task --- docs/modernization/tasks.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/docs/modernization/tasks.md b/docs/modernization/tasks.md index eaed458..c420732 100644 --- a/docs/modernization/tasks.md +++ b/docs/modernization/tasks.md @@ -1023,6 +1023,33 @@ Completed Task Log: | --- | --- | ---: | --- | --- | | 2026-06-13 | STR-009 | +2 renderer boundary and OpenGL parity | `ctest --preset desktop-fast --build-config Debug -R "retained_stroke_commit_callback_builder_preserves_order|retained_stroke_commit_runner_preserves_per_face_step_order" --output-on-failure`; `& 'C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Bin\MSBuild.exe' out\build\windows-msvc-default\tests\pp_paint_renderer_compositor_tests.vcxproj /p:Configuration=Debug /p:Platform=x64` | `pending` | +### STR-011 - Extract Preview Main Pass Orchestration + +Status: Ready +Score: no score movement +Debt: `DEBT-0036` +Scope: `src/node_stroke_preview.cpp`, `tests/paint_renderer/compositor_tests.cpp` + +Goal: + +Extract the remaining `NodeStrokePreview::draw_stroke_immediate()` main-pass +orchestration into a retained helper boundary without changing preview output. + +Done Checks: + +- Main-pass live execution uses a retained helper for setup, frame execution, + and final texture copy. +- Preview regression coverage proves callback order and binding still match the + current behavior. +- `DEBT-0036` records the narrowed preview orchestration surface. + +Validation: + +```powershell +ctest --preset desktop-fast --build-config Debug -R "pp_paint_renderer_compositor|pp_paint_renderer_stroke_execution" --output-on-failure +cmake --build --preset windows-msvc-default --config Debug --target PanoPainter +``` + ### STR-010 - Extract Remaining Draw Merge Composite Orchestration Status: Done