Isolate legacy stroke shader setup

This commit is contained in:
2026-06-12 22:35:07 +02:00
parent 33f21e0a1b
commit 6c58b6bb5d
5 changed files with 262 additions and 75 deletions

View File

@@ -1346,9 +1346,11 @@ each-sample pattern, dual-brush, and final composite decisions, and
Canvas and `NodeStrokePreview` stroke sample execution also delegate optional
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. Shader setup, uniforms, RTT/texture
ownership, dirty-box policy, and retained callback execution remain under
`DEBT-0036`.
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`.
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,