Define __DRI_IMAGE_FORMAT_SARGB8
authorKeith Packard <keithp@keithp.com>
Tue, 5 Nov 2013 01:27:43 +0000 (17:27 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 8 Nov 2013 03:08:09 +0000 (19:08 -0800)
This format will be used by the i965 driver

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
include/GL/internal/dri_interface.h

index b0fa02f78475e37aa11af7321ed15ad2da0ec538..fdd7f949040604c4adb88efb990328c6a2ae7fe3 100644 (file)
@@ -1013,6 +1013,7 @@ struct __DRIdri2ExtensionRec {
 #define __DRI_IMAGE_FORMAT_NONE         0x1008
 #define __DRI_IMAGE_FORMAT_XRGB2101010  0x1009
 #define __DRI_IMAGE_FORMAT_ARGB2101010  0x100a
+#define __DRI_IMAGE_FORMAT_SARGB8       0x100b
 
 #define __DRI_IMAGE_USE_SHARE          0x0001
 #define __DRI_IMAGE_USE_SCANOUT                0x0002