Extract preview sample pass request helper
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user