Mesa (master): Define __DRI_IMAGE_FORMAT_SARGB8

Eric Anholt anholt at kemper.freedesktop.org
Fri Nov 8 03:14:09 UTC 2013


Module: Mesa
Branch: master
Commit: aba6b84ce52c27b642d01bafd1703386bda97f3a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aba6b84ce52c27b642d01bafd1703386bda97f3a

Author: Keith Packard <keithp at keithp.com>
Date:   Mon Nov  4 17:27:43 2013 -0800

Define __DRI_IMAGE_FORMAT_SARGB8

This format will be used by the i965 driver

Signed-off-by: Keith Packard <keithp at keithp.com>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

---

 include/GL/internal/dri_interface.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index b0fa02f..fdd7f94 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -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




More information about the mesa-commit mailing list