Route stroke commit composite through service

This commit is contained in:
2026-06-12 22:47:54 +02:00
parent 2ee6534918
commit 458f9bef0c
3 changed files with 34 additions and 29 deletions

View File

@@ -18,6 +18,11 @@ agent or engineer to remove them without reconstructing context from chat.
## Recent Reductions
- 2026-06-12: DEBT-0036 was narrowed again. `Canvas::stroke_commit` now reuses
`legacy_canvas_stroke_composite_services.h` for commit-time final stroke
`kShader::CompDraw` binding and composite/pattern/dual uniform writes.
Texture/framebuffer binding, copy ordering, layer dirty mutation, and
non-stroke composite callers remain retained legacy execution.
- 2026-06-12: DEBT-0036 was narrowed again. Canvas stroke padding and commit
dilate shader setup now route retained `kShader::StrokePad` and
`kShader::StrokeDilate` binding/uniform writes through

View File

@@ -1350,11 +1350,12 @@ OpenGL stroke execution service seam. Live stroke `kShader::Stroke` binding,
setup, blend, pattern, and per-sample uniform writes now pass through
`legacy_canvas_stroke_shader_services.h`. Live draw-merge and preview final
stroke composite `kShader::CompDraw` setup now pass through
`legacy_canvas_stroke_composite_services.h`. Stroke padding and commit dilate
`kShader::StrokePad`/`kShader::StrokeDilate` setup now pass through
`legacy_canvas_stroke_edge_services.h`, leaving RTT/texture ownership,
dirty-box policy, checkerboard/commit composite shaders, quad expansion, and
retained callback execution under `DEBT-0036`.
`legacy_canvas_stroke_composite_services.h`, and `Canvas::stroke_commit` now
reuses that same composite service for commit-time final stroke compositing.
Stroke padding and commit dilate `kShader::StrokePad`/`kShader::StrokeDilate`
setup now pass through `legacy_canvas_stroke_edge_services.h`, leaving
RTT/texture ownership, dirty-box policy, checkerboard/non-stroke composite
shaders, quad expansion, and retained callback execution 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,