Isolate legacy stroke edge shader setup

This commit is contained in:
2026-06-12 22:44:15 +02:00
parent e5d5d5f9ce
commit 2ee6534918
4 changed files with 87 additions and 9 deletions

View File

@@ -18,6 +18,12 @@ agent or engineer to remove them without reconstructing context from chat.
## Recent Reductions
- 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
`legacy_canvas_stroke_edge_services.h`. Quad expansion, dirty-box policy,
texture/framebuffer binding and copies, and draw ordering remain retained
legacy execution.
- 2026-06-12: DEBT-0036 was narrowed again. Canvas live draw-merge and
`NodeStrokePreview` final stroke composite `kShader::CompDraw` setup now
share `legacy_canvas_stroke_composite_services.h` for retained shader binding

View File

@@ -1350,9 +1350,11 @@ 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`, leaving RTT/texture ownership,
dirty-box policy, pad/checkerboard/commit composite shaders, and retained
callback execution under `DEBT-0036`.
`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`.
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,