Share Canvas state GL dispatch adapters
This commit is contained in:
@@ -1268,8 +1268,13 @@ snapshots now route through the same backend dispatch contracts. Retained
|
||||
`Canvas` stroke draw/commit, thumbnail
|
||||
generation, object drawing, and `LayerFrame::clear` saved viewport/clear-color
|
||||
query plus clear-color restore paths also use tested `pp_renderer_gl` dispatch
|
||||
helpers. `NodeCanvas` saved viewport/clear-color query, density target color
|
||||
clear, and clear-color restore paths use the same helpers. `NodeCanvas` and
|
||||
helpers. The 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 under DEBT-0036.
|
||||
`NodeCanvas` saved viewport/clear-color query, density target color clear, and
|
||||
clear-color restore paths use the same helpers. `NodeCanvas` and
|
||||
`NodeStrokePreview` now share that retained UI GL dispatch bridge for
|
||||
active-texture, fallback texture unbind, viewport/scissor, clear-color,
|
||||
color-buffer clear, and capability query/apply adapter endpoints.
|
||||
@@ -2532,6 +2537,11 @@ Results:
|
||||
`LayerFrame::clear` paths now use the same tested backend viewport query,
|
||||
clear-color query, and clear-color restore helpers, removing direct
|
||||
viewport/clear-state queries from `src/canvas.cpp` and the frame clear path.
|
||||
Their active-texture selection, fallback 2D texture unbind, viewport/scissor
|
||||
execution, clear-color restore, and capability query/apply adapter endpoints
|
||||
now share `legacy_ui_gl_dispatch`; retained Canvas depth renderbuffer
|
||||
allocation/attachment/delete remains open as a renderer-resource bridge under
|
||||
DEBT-0036.
|
||||
- Canvas draw-merge shader-blend selection now consumes the extracted
|
||||
`pp_paint_renderer` stroke composite planner for current layer and primary
|
||||
brush blend modes, while preserving legacy OpenGL compositing execution under
|
||||
|
||||
Reference in New Issue
Block a user