mesa/include/GL
Keith Packard aea4757eb4 dri3, i915, i965: Add __DRI_IMAGE_FOURCC_SARGB8888
The __DRIimage createImageFromFds function takes a fourcc code, but there was
no fourcc code that match __DRI_IMAGE_FORMAT_SARGB8. This adds a define for
that format, adds a translation in DRI3 from __DRI_IMAGE_FORMAT_SARGB8 to
__DRI_IMAGE_FOURCC_SARGB8888 and then adds translations *back* to
__IMAGE_FORMAT_SARGB8 in both the i915 and i965 drivers.

I'll refrain from comments on whether I think having two separate sets of
format defines in dri_interface.h is a good idea or not...

Fixes piglit glx-tfp and glx-visuals-depth

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
2014-01-30 17:29:23 -08:00
..
internal dri3, i915, i965: Add __DRI_IMAGE_FOURCC_SARGB8888 2014-01-30 17:29:23 -08:00
gl.h mesa: Remove GL_MESA_texture_array cruft from gl.h 2013-12-04 17:22:43 -08:00
gl_mangle.h Regenerate gl_mangle.h. 2010-12-20 19:29:48 -07:00
glext.h mesa: update glext.h to version 20131212 2013-12-13 16:04:23 -07:00
glx.h Revert "mesa: Remove GLXContextID typedef from glx.h." 2013-12-29 23:23:33 -08:00
glx_mangle.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
glxext.h glx: Update glxext.h to revision 24777. 2014-01-27 09:57:12 -08:00
osmesa.h osmesa: add support for postprocess filters 2013-11-18 08:56:35 -07:00
wglext.h mesa: upgrade wglext.h to version 22 2010-09-14 09:40:23 -06:00
wmesa.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00