Extract preview dual pass live body
This commit is contained in:
@@ -1745,6 +1745,36 @@ ctest --preset desktop-fast --build-config Debug -R "pp_paint_renderer_composito
|
||||
cmake --build --preset windows-msvc-default --config Debug --target PanoPainter
|
||||
```
|
||||
|
||||
### STR-037 - Extract Preview Dual Pass Live Body
|
||||
|
||||
Status: Done
|
||||
Score: no score movement
|
||||
Debt: `DEBT-0036`
|
||||
Scope: `src/node_stroke_preview.cpp`, `tests/paint_renderer/compositor_tests.cpp`
|
||||
|
||||
Goal:
|
||||
|
||||
Move the remaining `NodeStrokePreview::draw_stroke_immediate()` dual-pass live
|
||||
body into a retained helper so the callsite keeps only sequence orchestration
|
||||
and preview copy handling.
|
||||
|
||||
Closeout: `a2e805f9`
|
||||
|
||||
Done Checks:
|
||||
|
||||
- `NodeStrokePreview::draw_stroke_immediate()` no longer owns the dual-pass live
|
||||
body inline.
|
||||
- Regression coverage proves the helper preserves the dual-pass callback order
|
||||
and preview copy behavior.
|
||||
- `docs/modernization/debt.md` records the reduced dual-pass live surface.
|
||||
|
||||
Validation:
|
||||
|
||||
```powershell
|
||||
ctest --preset desktop-fast --build-config Debug -R "pp_paint_renderer_compositor|pp_paint_renderer_stroke_execution" --output-onfailure
|
||||
cmake --build --preset windows-msvc-default --config Debug --target PanoPainter
|
||||
```
|
||||
|
||||
### STR-010 - Extract Remaining Draw Merge Composite Orchestration
|
||||
|
||||
### STR-016 - Extract Draw Merge Layer Composite Execution
|
||||
|
||||
Reference in New Issue
Block a user