Move render target texture parameters to renderer gl

This commit is contained in:
2026-06-01 18:11:44 +02:00
parent 7d80afce2f
commit f1e2743d58
6 changed files with 69 additions and 21 deletions

View File

@@ -390,11 +390,13 @@ OpenGL capability detection for framebuffer fetch, map-buffer alignment, and
float texture support. It also owns the OpenGL texture upload-type mapping used
by legacy `Texture2D` and `RTT` creation, plus image channel-count to texture
format mapping for `Texture2D` image uploads and framebuffer status naming for
`RTT` diagnostics. Mesh index-type and primitive-mode decisions used by legacy
`Shape` drawing and the PanoPainter cube-face to OpenGL texture-target mapping
used by `TextureCube` also live in `pp_renderer_gl`. The legacy app delegates
extension, upload-format, framebuffer diagnostic, mesh draw-mode, and cube-face
texture-target interpretation to that backend library. The PanoPainter shader attribute
`RTT` diagnostics. The default render-target texture parameters used by
`RTT::create` also live in `pp_renderer_gl`. Mesh index-type and primitive-mode
decisions used by legacy `Shape` drawing and the PanoPainter cube-face to
OpenGL texture-target mapping used by `TextureCube` also live in
`pp_renderer_gl`. The legacy app delegates extension, upload-format,
framebuffer diagnostic, render-target texture parameter, mesh draw-mode, and
cube-face texture-target interpretation to that backend library. The PanoPainter shader attribute
binding catalog also lives in `pp_renderer_gl` and is consumed by legacy
`Shader` creation. Shader uniform hashing, catalog validation, active-uniform
mapping, and the legacy uniform uniqueness check now delegate to
@@ -641,11 +643,12 @@ Results:
WebGL exclusion behavior, upload types for RGBA8/RGBA16F/RGBA32F internal
formats, image channel-count format mapping including invalid counts, and
framebuffer status names, plus Shape index-type and fill/stroke primitive
mode mapping and PanoPainter cube-face texture-target order. Shader attribute
binding catalog validation covers the current `pos`, `uvs`, `uvs2`, `col`,
and `nor` bindings and rejects empty, unnamed, null-name, and duplicate-name
catalogs while preserving legacy shared locations. Shader uniform catalog
validation covers the 43 legacy uniform
mode mapping, PanoPainter cube-face texture-target order, and the linear
clamp-to-edge render-target texture parameter set used by `RTT::create`.
Shader attribute binding catalog validation covers the current `pos`, `uvs`,
`uvs2`, `col`, and `nor` bindings and rejects empty, unnamed, null-name, and
duplicate-name catalogs while preserving legacy shared locations. Shader
uniform catalog validation covers the 43 legacy uniform
names used by `Shader`, preserves the legacy hash ids, and rejects empty,
unnamed, null-name, mismatched-hash, and duplicate-name catalogs.
- PowerShell analyze automation returns JSON summaries and includes the shader