Share Canvas state GL dispatch adapters

This commit is contained in:
2026-06-05 14:13:04 +02:00
parent 65bf047d77
commit 76a8db1ef8
4 changed files with 37 additions and 143 deletions

View File

@@ -556,9 +556,13 @@ powershell -ExecutionPolicy Bypass -File scripts\automation\apple-remote-build.p
queries now use tested backend query dispatch too. Retained `Canvas` stroke draw/commit, thumbnail
generation, object rendering, and `LayerFrame::clear` saved viewport or
clear-color query plus clear-color restore paths also use tested
`pp_renderer_gl` dispatch helpers. `NodeCanvas` saved viewport/clear-color
query, density/offscreen color clear, and clear-color restore paths use the
same helpers. `NodeCanvas` and `NodeStrokePreview` now share
`pp_renderer_gl` dispatch helpers. Retained `Canvas` active texture, fallback
texture unbind, viewport/scissor execution, viewport and clear-color query,
clear-color restore, and capability query/apply adapter endpoints now share
`legacy_ui_gl_dispatch`; Canvas depth renderbuffer allocation/attachment/delete
remains a separate retained renderer-resource bridge. `NodeCanvas` saved
viewport/clear-color query, density/offscreen color clear, and clear-color
restore paths use the same helpers. `NodeCanvas` and `NodeStrokePreview` now share
`legacy_ui_gl_dispatch` for active texture, texture unbind, viewport/scissor,
clear-color, color-buffer clear, and capability query/apply adapter endpoints.
`CanvasMode` overlay, mask, transform, and canvas-tip pick paths now also