summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSean V Kelley <sean.v.kelley@linux.intel.com>2012-04-24 07:49:09 -0700
committerChad Versace <chad.versace@linux.intel.com>2012-04-30 11:22:46 -0700
commit81f95ce13d92f15df2941a831ddb5a415f0f816e (patch)
treea39af63da0fe24900cb5d2ab18d8864bde3b9636 /include
parent1de377bd307f3c4aa63f1a14a693f81af54d56ee (diff)
egl/android: Add support for RGBX_8888 used in Android native buffers
Add new format __DRI_IMAGE_FORMAT_XBGR8888 to __DRI_IMAGE. HAL_PIXEL_FORMAT_RGBX_8888 now maps to __DRI_IMAGE_FORMAT_XBGR8888. Signed-off-by: Sean V Kelley <sean.v.kelley@linux.intel.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/GL/internal/dri_interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index da8366652f..eafbe10f9b 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -906,6 +906,7 @@ struct __DRIdri2ExtensionRec {
#define __DRI_IMAGE_FORMAT_XRGB8888 0x1002
#define __DRI_IMAGE_FORMAT_ARGB8888 0x1003
#define __DRI_IMAGE_FORMAT_ABGR8888 0x1004
+#define __DRI_IMAGE_FORMAT_XBGR8888 0x1005
#define __DRI_IMAGE_USE_SHARE 0x0001
#define __DRI_IMAGE_USE_SCANOUT 0x0002