Route stroke preview material decisions through planner

This commit is contained in:
2026-06-12 22:19:27 +02:00
parent 6cce9dd726
commit d69869f720
3 changed files with 43 additions and 15 deletions

View File

@@ -18,6 +18,10 @@ agent or engineer to remove them without reconstructing context from chat.
## Recent Reductions
- 2026-06-12: DEBT-0036 was narrowed again. `NodeStrokePreview` now consumes
the same `CanvasStrokeMaterialPlan` boundary for preview dual-brush,
each-sample pattern, and composite material decisions. Preview GL draw calls,
texture binding details, and pattern scale/offset uniforms remain retained.
- 2026-06-12: DEBT-0036 was narrowed again. Live `Canvas::stroke_draw`,
stroke commit, and draw-merge paths now consume `CanvasStrokeMaterialPlan`
through `plan_legacy_canvas_stroke_material` for destination feedback,

View File

@@ -1341,8 +1341,10 @@ destination feedback/copy decisions, and `pp_paint_renderer` owns pure
stroke material/pass planning for pattern, mixer, dual-brush, and final
composite texture/uniform intent. Live `Canvas::stroke_draw`, stroke commit,
and draw-merge paths consume that material plan for destination feedback,
each-sample pattern, dual-brush, and final composite decisions. Actual retained
OpenGL draw execution and preview material wiring remain under `DEBT-0036`.
each-sample pattern, dual-brush, and final composite decisions, and
`NodeStrokePreview` now consumes the same plan for preview material decisions.
Actual retained OpenGL draw execution and preview texture-binding details remain
under `DEBT-0036`.
It also owns renderer API texture-format to
OpenGL internal/pixel/component token mapping, including depth-stencil formats,
for future backend texture objects. `Texture2D` 2D texture binding, upload,