[PATCH 4/8] Define __DRI_IMAGE_FORMAT_SARGB8

Keith Packard keithp at keithp.com
Mon Nov 4 18:23:24 PST 2013


This format will be used by the i965 driver

Signed-off-by: Keith Packard <keithp at keithp.com>
---
 include/GL/internal/dri_interface.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index 48993b9..907aeca 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -996,6 +996,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
-- 
1.8.4.2



More information about the dri-devel mailing list