Route grid render state through GL backend

This commit is contained in:
2026-06-04 22:38:06 +02:00
parent 5aa07b2953
commit d0510e9fd2
7 changed files with 168 additions and 17 deletions

View File

@@ -1102,6 +1102,9 @@ readback formats, sampler filters, depth/blend state, depth clears, viewport
queries, color-mask booleans, active texture units, and float render-target
formats to `pp_renderer_gl`, and its CPU lightmap row dispatch now uses the
shared legacy `parallel_for` helper rather than platform-specific worker APIs.
Its live heightmap draw and bake paths now execute depth/blend state changes,
depth clears, color-write-mask toggles, active texture selection, and bake
viewport changes through tested `pp_renderer_gl` dispatch adapters.
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`.
@@ -2050,6 +2053,10 @@ Results:
active texture units, viewport execution, color clears, and cube-face
framebuffer-to-texture copies through tested renderer GL backend dispatch
contracts.
- `NodePanelGrid` live heightmap drawing and bake setup now route depth/blend
state, depth clears, color-write-mask toggles, active texture selection, and
bake viewport execution through tested renderer GL backend dispatch
contracts.
- 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