Extract preview sample pass request helper

This commit is contained in:
2026-06-14 00:09:36 +02:00
parent cc1dd0dd95
commit 5f66d0e76e
2 changed files with 79 additions and 34 deletions

View File

@@ -1958,6 +1958,34 @@ ctest --preset desktop-fast --build-config Debug -R "pp_paint_renderer_composito
cmake --build --preset windows-msvc-default --config Debug --target PanoPainter
```
### STR-044 - Extract Preview Sample Pass Request Construction
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 `execute_stroke_preview_sample_pass()` request construction
into a retained helper so the executor wrapper keeps only request dispatch and
dirty-bounds return handling.
Done Checks:
- `execute_stroke_preview_sample_pass()` no longer owns the sample-request
construction inline.
- Regression coverage proves the helper preserves destination binding, copy,
and brush draw ordering.
- `docs/modernization/debt.md` records the reduced preview sample-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