Move pixel buffer mapping to renderer gl

This commit is contained in:
2026-06-02 06:31:15 +02:00
parent 75dfc85978
commit 43e3a74c42
6 changed files with 66 additions and 23 deletions

View File

@@ -390,11 +390,12 @@ 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. RGBA8/RGBA32F readback formats and byte-count math used by
`RTT` and `PBO` readbacks now live in `pp_renderer_gl`. The framebuffer blit
color mask and linear/nearest filter tokens used by `RTT::resize` and
`RTT::copy`, plus the default render-target texture parameters used by
`RTT::create`, also live in `pp_renderer_gl`.
`RTT` diagnostics. RGBA8/RGBA32F readback formats, byte-count math, and PBO
pixel-buffer target/usage/access tokens used by `RTT` and `PBO` readbacks now
live in `pp_renderer_gl`. The framebuffer blit color mask and linear/nearest
filter tokens used by `RTT::resize` and `RTT::copy`, plus 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
@@ -648,9 +649,9 @@ Results:
alignment, desktop GL core float support, GLES float/half-float extensions,
WebGL exclusion behavior, upload types for RGBA8/RGBA16F/RGBA32F internal
formats, image channel-count format mapping including invalid counts, and
RGBA8/RGBA32F readback format and byte-count mapping, framebuffer status
names, framebuffer blit color mask and linear/nearest filters, plus Shape
index-type and fill/stroke primitive mode mapping,
RGBA8/RGBA32F readback format and byte-count mapping, PBO pixel-buffer
target/usage/access mapping, framebuffer status names, framebuffer blit color
mask and linear/nearest filters, plus Shape index-type and fill/stroke primitive mode mapping,
PanoPainter cube-face texture-target order, and the linear clamp-to-edge
render-target texture parameter set used by `RTT::create`.
Sampler parameter validation covers wrap S/T/R plus min/mag filter ordering