mesa/include
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
..
c11 c11: Add missing stdlib.h include. 2014-01-28 14:35:04 +00:00
c99 mesa: fixes for MSVC 2013 2013-10-22 08:39:40 -06:00
CL clover: Import OpenCL state tracker. 2012-05-11 12:39:44 +02:00
EGL s/Tungsten Graphics/VMware/ 2014-01-17 20:00:32 +00:00
GL dri3, i915, i965: Add __DRI_IMAGE_FOURCC_SARGB8888 2014-01-30 17:29:23 -08:00
GLES gles: Update glext.h to revision 20798. 2013-07-29 10:34:42 -07:00
GLES2 gles2: Update gl2ext.h to revision 24614. 2014-01-23 11:33:22 -08:00
GLES3 gles3: Update gl3.h to revision 24614. 2014-01-23 11:33:22 -08:00
HaikuGL haiku: change atomic int to non-volatile 2014-01-26 18:56:05 -06:00
KHR Update KHRONOS_APICALL for _WIN32 platform. 2010-05-31 11:31:07 +08:00
pci_ids pci_ids: no not include loader.h 2014-01-18 18:51:54 +00:00
VG st/vega: Update to latest headers. 2010-12-01 11:23:51 +08:00
c99_compat.h scons: Define _ALLOW_KEYWORD_MACROS on MSVC builds. 2013-03-14 19:01:10 +00:00