Extract preview main live sample wrapping

This commit is contained in:
2026-06-14 00:05:33 +02:00
parent 2053c55bd6
commit 6670f6e186
4 changed files with 36 additions and 12 deletions

View File

@@ -205,6 +205,10 @@ agent or engineer to remove them without reconstructing context from chat.
now routes the mix-pass execution request through
`make_stroke_draw_mix_execution_request(...)`; the retained path still owns
the concrete framebuffer, viewport, and draw ordering.
- 2026-06-14: DEBT-0036 was narrowed again. `NodeStrokePreview::make_stroke_draw_immediate_main_live_pass_request()`
now routes sample shader setup through
`execute_stroke_draw_immediate_main_live_sample_pass(...)`; the retained path
still owns the concrete preview frame mutation and copy behavior.
- 2026-06-13: DEBT-0036 was narrowed again. `Canvas::draw_merge()` temporary
composite setup now routes through `execute_canvas_draw_merge_temporary_composite(...)`;
setup, sampler, texture, draw, and unbind callbacks still remain retained in

View File

@@ -1901,7 +1901,7 @@ cmake --build --preset windows-msvc-default --config Debug --target PanoPainter
### STR-042 - Extract Preview Main Live Sample Callback Wrapping
Status: Ready
Status: Done
Score: no score movement
Debt: `DEBT-0036`
Scope: `src/node_stroke_preview.cpp`, `tests/paint_renderer/compositor_tests.cpp`
@@ -1912,6 +1912,8 @@ Move the remaining `NodeStrokePreview::make_stroke_draw_immediate_main_live_pass
sample/copy callback wrapping into retained helpers so the request builder only
forwards concrete preview state.
Closeout: `2053c55b`
Done Checks:
- `make_stroke_draw_immediate_main_live_pass_request()` no longer owns the