Extract retained stroke preview pass orchestration plan

This commit is contained in:
2026-06-13 11:43:31 +02:00
parent 67c594129d
commit cf92181ae4
9 changed files with 306 additions and 129 deletions

View File

@@ -18,6 +18,14 @@ agent or engineer to remove them without reconstructing context from chat.
## Recent Reductions
- 2026-06-13: DEBT-0036 was narrowed again. `NodeStrokePreview::draw_stroke_immediate()`
now routes retained preview feedback/material/composite planning plus stroke
shader uniform assembly through
`plan_legacy_node_stroke_preview_pass_orchestration(...)`; focused compositor
coverage now locks the retained destination-feedback fallback, composite-slot
intent, and pattern/dual shader-uniform handoff while brush mutation, retained
`Stroke` population, and live GL callback execution remain in the preview
node.
- 2026-06-13: DEBT-0036 was narrowed again. `NodeStrokePreview::draw_stroke_immediate()`
now routes retained preview stroke max-size fallback, dual-preview max-size
derivation, pattern-scale flips, and Bezier preview-point generation through

View File

@@ -62,6 +62,12 @@ queue, blocked queue, validation commands, and completion rules. Do not move the
percentage for a narrowed adapter or added planner unless a task in that file is
marked `Done` with validation and a debt/roadmap update.
Recent 2026-06-13 retained preview reductions continue to narrow DEBT-0036:
`NodeStrokePreview::draw_stroke_immediate()` now also routes
feedback/material/composite planning and stroke-shader uniform assembly through
`plan_legacy_node_stroke_preview_pass_orchestration(...)`, leaving the preview
node with a smaller live-GL callback surface around pass execution.
## Target Component Architecture
The refactor should move toward one-way dependencies:

View File

@@ -509,6 +509,15 @@ Done Checks:
Progress Notes:
- 2026-06-13: `NodeStrokePreview::draw_stroke_immediate()` now routes retained
preview feedback/material/composite planning plus stroke-shader uniform
assembly through `plan_legacy_node_stroke_preview_pass_orchestration(...)`;
compositor coverage now locks destination-feedback fallback, composite-slot
intent, and the retained pattern/dual shader-uniform handoff. The preview
node still owns brush object mutation, retained `Stroke` population, and the
concrete GL pass callbacks. Next slice should target another narrow preview
execution seam without reopening the landed preview setup, mix, pass-sequence,
or final-composite helpers.
- 2026-06-13: `NodeStrokePreview::draw_stroke_immediate()` now routes preview
stroke max-size fallback, dual-preview max-size derivation, pattern-scale
flips, and Bezier preview-point generation through