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

@@ -377,7 +377,10 @@ Known local toolchain state:
backend-owned texture readback formats, sampler filters, depth/blend state,
depth clears, viewport queries, color-mask booleans, active texture units,
and float render-target formats; CPU lightmap row dispatch now uses shared
`parallel_for` instead of platform-specific worker APIs.
`parallel_for` instead of 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 also
consume backend-owned error codes, state queries, framebuffer targets,
texture binding targets, and active texture units.
@@ -648,6 +651,8 @@ Known local toolchain state:
NodeStrokePreview texture-unit switches,
tested viewport/scissor/capability dispatch consumed by retained Canvas,
NodeCanvas, NodeStrokePreview, and HMD render-state paths,
tested color-write-mask dispatch consumed by retained `NodePanelGrid`
transparent heightmap rendering,
tested pixel-buffer allocation/readback/map/unmap/delete dispatch
consumed by retained `PBO` recording readbacks, tested framebuffer-to-texture
copy dispatch consumed by retained canvas/UI paint paths and CanvasLayer