Isolate legacy stroke composite shader setup

This commit is contained in:
2026-06-12 22:41:47 +02:00
parent 6c58b6bb5d
commit e5d5d5f9ce
5 changed files with 155 additions and 50 deletions

View File

@@ -1348,9 +1348,11 @@ destination copy, brush vertex upload, brush-shape draw, and destination unbind
through `execute_legacy_canvas_stroke_sample`, creating the first retained
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`, leaving RTT/texture ownership,
dirty-box policy, composite/pad/checkerboard shaders, and retained callback
execution under `DEBT-0036`.
`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`.
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,