Move render target clear mapping to renderer gl

This commit is contained in:
2026-06-02 06:38:32 +02:00
parent e00eec30d4
commit 02f14f1bf5
6 changed files with 51 additions and 12 deletions

View File

@@ -127,8 +127,9 @@ Known local toolchain state:
by the legacy app initialization path; `pp_renderer_gl_capabilities_tests`
validates framebuffer fetch, map-buffer alignment, desktop GL float support,
GLES float/half-float extensions, WebGL exclusion behavior, and the
upload-type mapping used by legacy `Texture2D` and `RTT` creation. It also
validates image channel-count to OpenGL texture format mapping, including
upload-type mapping used by legacy `Texture2D` and `RTT` creation, plus the
RGBA pixel-format mapping used by `RTT` texture allocation. It also validates
image channel-count to OpenGL texture format mapping, including
invalid channel counts rejected by `Texture2D::create(Image)`, RGBA8/RGBA32F
readback formats, byte-count math, and PBO pixel-buffer target/usage/access
mapping used by `RTT` and `PBO` readbacks, and framebuffer status naming
@@ -137,7 +138,9 @@ Known local toolchain state:
`RTT::resize` and `RTT::copy`, plus the default linear clamp-to-edge
render-target texture parameters, texture/renderbuffer targets, depth format,
framebuffer targets, binding queries, attachment points, and completion
status used by `RTT::create` and framebuffer bind/restore paths. It also
status used by `RTT::create` and framebuffer bind/restore paths, plus RTT
clear color/depth masks and color-write-mask query tokens. `RTT` no longer
spells GL enum names directly. It also
validates Shape index-type and fill/stroke primitive-mode mapping used by the
legacy mesh draw path, plus the PanoPainter cube-face to OpenGL texture-target
mapping used by `TextureCube`.