mesa/src
Nanley Chery 99b1f4751f mesa/teximage: reuse compressed format utility functions for base_format
Reuse utility functions instead of reimplementing the same logic.

* _mesa_is_compressed_format() performs the required checking to
  determine format support in the current context.
* _mesa_gl_compressed_format_base_format() returns the base format.

As a side effect, we now check that we're in a desktop context when
determining support for the FXT1 and RGTC formats. This is in agreement
with our extension table and the glext headers.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
2015-09-19 13:27:15 -07:00
..
egl egl/dri2: don't leak the fd on dri2_terminate 2015-09-15 12:39:02 +01:00
gallium freedreno/ir3: use nir two-sided-color lowering 2015-09-18 21:07:50 -04:00
gbm gbm: convert gbm bo format to fourcc format on dma-buf import 2015-09-15 12:27:45 +01:00
getopt
glsl nir: add two-sided-color lowering pass 2015-09-18 21:07:50 -04:00
glx glxl/tests: Use X11_INCLUDES instead of X11_CFLAGS 2015-09-07 10:43:32 +01:00
gtest mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
hgl glapi/hgl: Drop extern "C" as it was added to glapi 2015-05-13 15:26:29 -04:00
loader loader: use HAVE_LIBDRM instead of ! __NOT_HAVE_DRM_H 2015-07-22 16:35:25 +01:00
mapi mesa: move GL_APPLE_object_purgeable functions to new file 2015-09-16 09:02:40 -06:00
mesa mesa/teximage: reuse compressed format utility functions for base_format 2015-09-19 13:27:15 -07:00
util util: automake: rework the format_srgb.c rule 2015-09-09 12:48:09 +01:00
Makefile.am glsl: shader-enum to name debug fxns 2015-09-16 10:04:13 -04:00
SConscript scons: rework the EGL build 2015-07-22 16:35:27 +01:00