Age | Commit message (Collapse) | Author |
|
|
|
Plus, use MESA_FORMAT_S8_Z24 everywhere.
|
|
_ActualFormat is replaced by Format (MESA_FORMAT_x).
ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are
all replaced by MESA_FORMAT_x queries.
|
|
|
|
|
|
|
|
|
|
|
|
And remove other unneeded #includes while we're at it.
|
|
|
|
|
|
This is a private datatype.
|
|
|
|
|
|
|
|
Call it from in the main Mesa glTexImage functions.
|
|
|
|
Just call ctx->Driver.CompressedTextureSize() when we need to get
the compressed image size.
|
|
|
|
|
|
XXX need to still verify that the table entries are in correct order.
|
|
|
|
|
|
Use _mesa_is_format_compressed() instead.
|
|
|
|
|
|
Need to be careful with component ordering for MESA_FORMAT_RGB888
and MESA_FORMAT_RGBA8888.
|
|
|
|
Not used by any hardware driver. ARGB4444 and ARGB4444_REV remain.
|
|
Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY.
|
|
|
|
|
|
|
|
Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum.
ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x.
gl_texture_format will go away next.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|