Share retained utility GL dispatch bridges
This commit is contained in:
@@ -548,9 +548,11 @@ powershell -ExecutionPolicy Bypass -File scripts\automation\apple-remote-build.p
|
||||
viewport changes through tested `pp_renderer_gl` dispatch adapters. Grid
|
||||
depth-state snapshots and sun overlay viewport queries now use tested backend
|
||||
query dispatch as well.
|
||||
Legacy `util.cpp` OpenGL error naming and `gl_state` save/restore also
|
||||
consume backend-owned error codes, state queries, framebuffer targets,
|
||||
texture binding targets, and active texture units.
|
||||
Legacy `util.cpp` OpenGL error naming, framebuffer-to-texture copy helper,
|
||||
and `gl_state` save/restore also consume backend-owned error codes, state
|
||||
queries, framebuffer targets, texture binding targets, active texture units,
|
||||
shader program use, and sampler binding through the shared retained bridge
|
||||
headers instead of local raw OpenGL callbacks.
|
||||
`NodeStrokePreview` brush preview rendering also consumes backend-owned
|
||||
depth/scissor/blend state, tested viewport/clear-color query dispatch,
|
||||
clear-color restore, active texture unit execution, fallback 2D texture
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1265,9 +1265,11 @@ readback also goes through the tested framebuffer-backed texture readback
|
||||
dispatch instead of direct `glGetTexImage`. Grid depth-state snapshots and sun
|
||||
overlay viewport queries now also use tested backend query dispatch instead of
|
||||
direct state reads.
|
||||
Legacy `util.cpp` OpenGL error naming and `gl_state` save/restore now delegate
|
||||
error codes, state queries, framebuffer targets, texture binding targets, and
|
||||
active texture units to `pp_renderer_gl`.
|
||||
Legacy `util.cpp` OpenGL error naming, framebuffer-to-texture copy helper, and
|
||||
`gl_state` save/restore now delegate error codes, state queries, framebuffer
|
||||
targets, texture binding targets, active texture units, shader program use, and
|
||||
sampler binding to `pp_renderer_gl` through the shared retained bridge headers
|
||||
instead of owning local raw OpenGL callbacks.
|
||||
`NodeStrokePreview` brush preview rendering now delegates depth/scissor/blend
|
||||
state, tested viewport/clear-color query dispatch, clear-color restore, active
|
||||
texture unit execution, fallback 2D texture unbinds, 2D texture targets, copy
|
||||
@@ -2585,6 +2587,11 @@ Results:
|
||||
`legacy_gl_shader_dispatch`, removing duplicated raw shader/program/uniform
|
||||
callback ownership from `src/shader.cpp` while shader-program ownership
|
||||
remains retained under DEBT-0036.
|
||||
- Retained `gl_state` save/restore and `copy_framebuffer_to_texture_target`
|
||||
now reuse `legacy_ui_gl_dispatch`, `legacy_gl_framebuffer_dispatch`,
|
||||
`legacy_gl_shader_dispatch`, and `legacy_gl_sampler_dispatch`, removing the
|
||||
local raw state/copy callback cluster from `src/util.cpp` while renderer
|
||||
state and framebuffer-copy execution remain retained 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