1
0
forked from 0ad/0ad
0ad/source/lib/tex
Ykkrosh 8799bd98b0 Support 8bpp textures
When textures.xml specifies format="alpha", the input is expected to be
an
8-bit greyscale PNG, and the output will be an 8-bit uncompressed
alpha-only DDS.

Add format override to CTextureProperties, to select between e.g.
GL_ALPHA
and GL_LUMINANCE for 8-bit textures.

This is needed so fonts can use the new texture system.

This was SVN commit r14015.
2013-10-18 15:36:31 +00:00
..
tex_bmp.cpp refactor: remove "wrapping" and "read" functionality for DynArray (in preparation for replacing it with template policies for more flexible Pool etc.) 2011-08-17 08:38:53 +00:00
tex_codec.cpp ENSURE(0) -> DEBUG_WARN_ERR(ERR::LOGIC) (a bit smaller, and more descriptive) 2011-05-04 12:10:17 +00:00
tex_codec.h refactor: remove "wrapping" and "read" functionality for DynArray (in preparation for replacing it with template policies for more flexible Pool etc.) 2011-08-17 08:38:53 +00:00
tex_dds.cpp Support 8bpp textures 2013-10-18 15:36:31 +00:00
tex_internal.h refactor: remove "wrapping" and "read" functionality for DynArray (in preparation for replacing it with template policies for more flexible Pool etc.) 2011-08-17 08:38:53 +00:00
tex_jpg.cpp refactor: remove "wrapping" and "read" functionality for DynArray (in preparation for replacing it with template policies for more flexible Pool etc.) 2011-08-17 08:38:53 +00:00
tex_png.cpp refactor: remove "wrapping" and "read" functionality for DynArray (in preparation for replacing it with template policies for more flexible Pool etc.) 2011-08-17 08:38:53 +00:00
tex_tga.cpp refactor: remove "wrapping" and "read" functionality for DynArray (in preparation for replacing it with template policies for more flexible Pool etc.) 2011-08-17 08:38:53 +00:00
tex.cpp refactor: remove "wrapping" and "read" functionality for DynArray (in preparation for replacing it with template policies for more flexible Pool etc.) 2011-08-17 08:38:53 +00:00
tex.h cleanup (requires update-workspaces) 2011-05-03 12:38:42 +00:00