Promote preview mixer pass state task

This commit is contained in:
2026-06-14 00:06:22 +02:00
parent 6670f6e186
commit cc1dd0dd95

View File

@@ -1930,6 +1930,34 @@ ctest --preset desktop-fast --build-config Debug -R "pp_paint_renderer_composito
cmake --build --preset windows-msvc-default --config Debug --target PanoPainter
```
### STR-043 - Extract Preview Mixer Pass State And Copy Ordering
Status: Ready
Score: no score movement
Debt: `DEBT-0036`
Scope: `src/node_stroke_preview.cpp`, `tests/paint_renderer/compositor_tests.cpp`
Goal:
Move the remaining `NodeStrokePreview::stroke_draw_samples()` mixer-pass state
and copy ordering into retained helpers so the callsite keeps only the final
sample dispatch.
Done Checks:
- `NodeStrokePreview::stroke_draw_samples()` no longer owns the mixer-pass
state/copy ordering inline.
- Regression coverage proves the helper preserves mixer framebuffer binding
and preview copy behavior.
- `docs/modernization/debt.md` records the reduced preview mixer-pass 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