Map renderer texture formats to OpenGL
This commit is contained in:
@@ -185,7 +185,9 @@ Known local toolchain state:
|
||||
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
|
||||
invalid channel counts rejected by `Texture2D::create(Image)`, renderer API
|
||||
texture-format to OpenGL internal/pixel/component token mapping including
|
||||
depth-stencil formats, RGBA8/RGBA32F
|
||||
readback formats, checked byte-count math, and PBO pixel-buffer target/usage/access
|
||||
mapping used by `RTT` and `PBO` readbacks, and framebuffer status naming
|
||||
used by `RTT` and `Texture2D` diagnostics. It also owns the 2D texture target,
|
||||
|
||||
@@ -440,7 +440,9 @@ float texture support. It also owns the OpenGL texture upload-type mapping used
|
||||
by legacy `Texture2D` and `RTT` creation, RGBA pixel-format mapping used by
|
||||
`RTT` texture allocation, plus image channel-count to texture
|
||||
format mapping for `Texture2D` image uploads and framebuffer status naming for
|
||||
`RTT` and `Texture2D` diagnostics. `Texture2D` 2D texture binding, upload,
|
||||
`RTT` and `Texture2D` diagnostics. It also owns renderer API texture-format to
|
||||
OpenGL internal/pixel/component token mapping, including depth-stencil formats,
|
||||
for future backend texture objects. `Texture2D` 2D texture binding, upload,
|
||||
mipmap generation, framebuffer readback setup, and update component-type tokens
|
||||
now delegate to `pp_renderer_gl`. `TextureCube` cube-map binding, allocation
|
||||
face targets, RGBA allocation format, and unsigned-byte component type also
|
||||
|
||||
Reference in New Issue
Block a user