Extract preview main live pass request

This commit is contained in:
2026-06-13 23:50:13 +02:00
parent b9647847f0
commit a2e805f991
4 changed files with 88 additions and 57 deletions

View File

@@ -160,6 +160,11 @@ agent or engineer to remove them without reconstructing context from chat.
through `execute_legacy_node_stroke_preview_main_live_pass(...)`; 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 main live-pass request assembly through
`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. `Canvas::draw_merge()` now routes
the remaining per-layer branch orchestration through
`execute_legacy_canvas_draw_merge_layer_composite(...)`; the retained path

View File

@@ -1717,7 +1717,7 @@ Completed Task Log:
### STR-036 - Extract Preview Main Live Pass Orchestration
Status: Ready
Status: Done
Score: no score movement
Debt: `DEBT-0036`
Scope: `src/node_stroke_preview.cpp`, `tests/paint_renderer/compositor_tests.cpp`
@@ -1728,6 +1728,8 @@ Move the remaining `NodeStrokePreview::draw_stroke_immediate()` main live-pass
orchestration into a retained helper so the callsite keeps only branch
selection and direct live-pass dispatch.
Closeout: `b9647847`
Done Checks:
- `NodeStrokePreview::draw_stroke_immediate()` no longer owns the main live-pass