diff options
author | Chia-I Wu <olv@lunarg.com> | 2011-08-21 21:22:41 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2011-09-09 12:06:16 +0800 |
commit | e3cf7b69f24c186310eb3be4c462cccea028e6f2 (patch) | |
tree | b446b93a782971ce1b570126d306a29326f23b23 /include/GL | |
parent | 60df737ad57c20701b66d7cd3f63d1dc75745986 (diff) |
dri2: add __DRI_IMAGE_FORMAT_ABGR8888 to __DRI_IMAGE
Add a new format token, __DRI_IMAGE_FORMAT_ABGR8888, to __DRI_IMAGE. It
maps to MESA_FORMAT_RGBA8888_REV in core mesa or
PIPE_FORMAT_R8G8B8A8_UNORM in gallium. The format is used by
translucent surfaces on Android.
Diffstat (limited to 'include/GL')
-rw-r--r-- | 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 eed159e11c..8a9ca19491 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -817,6 +817,7 @@ struct __DRIdri2ExtensionRec { #define __DRI_IMAGE_FORMAT_RGB565 0x1001 #define __DRI_IMAGE_FORMAT_XRGB8888 0x1002 #define __DRI_IMAGE_FORMAT_ARGB8888 0x1003 +#define __DRI_IMAGE_FORMAT_ABGR8888 0x1004 #define __DRI_IMAGE_USE_SHARE 0x0001 #define __DRI_IMAGE_USE_SCANOUT 0x0002 |