Move readback format mapping to renderer gl

This commit is contained in:
2026-06-02 06:27:29 +02:00
parent 9ce49ef19c
commit 75dfc85978
6 changed files with 117 additions and 13 deletions

View File

@@ -129,7 +129,8 @@ Known local toolchain state:
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
invalid channel counts rejected by `Texture2D::create(Image)`, and
invalid channel counts rejected by `Texture2D::create(Image)`, RGBA8/RGBA32F
readback formats and byte-count math used by `RTT` and `PBO` readbacks, and
framebuffer status naming used by `RTT` diagnostics. It also owns and
validates framebuffer blit color mask and linear/nearest filters used by
`RTT::resize` and `RTT::copy`, plus the default linear clamp-to-edge