Map renderer blend state to OpenGL

This commit is contained in:
2026-06-02 20:26:55 +02:00
parent 36f9e73dd4
commit 728116da8f
5 changed files with 114 additions and 8 deletions

View File

@@ -473,10 +473,11 @@ binding catalog, shader stage tokens, compile/link status queries, active-unifor
count query, and matrix-uniform transpose token also live in `pp_renderer_gl`
and are consumed by legacy `Shader` creation. Renderer API blend factor/op to
OpenGL token mapping also lives in `pp_renderer_gl`, with explicit support flags
so `GL_ZERO` remains distinguishable from unsupported enum values. Renderer API
blend-state color-write masks, depth compare-op to OpenGL depth-function
mapping, and aggregate renderer API depth-state to OpenGL enable/write/compare
mapping also live in `pp_renderer_gl`. Shader uniform hashing, catalog
so `GL_ZERO` remains distinguishable from unsupported enum values. Aggregate
renderer API blend-state to OpenGL enable/factor/equation/color-mask mapping,
depth compare-op to OpenGL depth-function mapping, and aggregate renderer API
depth-state to OpenGL enable/write/compare mapping also live in
`pp_renderer_gl`. Shader uniform hashing, catalog
validation, active-uniform mapping, and the legacy uniform uniqueness check now
delegate to `pp_renderer_gl` as well. `Shader` no longer spells GL enum names
directly. App OpenGL initialization debug severity, debug output, GL info