Extract preview dual pass live body
This commit is contained in:
@@ -165,6 +165,10 @@ agent or engineer to remove them without reconstructing context from chat.
|
||||
`make_stroke_draw_immediate_main_live_pass_request(...)`; the retained path
|
||||
still owns the concrete frame mutation, sample shader setup, and final mixer
|
||||
unbind.
|
||||
- 2026-06-13: DEBT-0036 was narrowed again. `NodeStrokePreview::draw_stroke_immediate()`
|
||||
now routes the dual-pass live body through
|
||||
`execute_stroke_draw_immediate_dual_pass(...)`; the retained path still owns
|
||||
the concrete frame mutation, shader setup, and preview copy behavior.
|
||||
- 2026-06-13: DEBT-0036 was narrowed again. `Canvas::draw_merge()` now routes
|
||||
the remaining per-layer branch orchestration through
|
||||
`execute_legacy_canvas_draw_merge_layer_composite(...)`; the retained path
|
||||
|
||||
@@ -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