diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2013-09-14 23:31:08 -0700 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-10-15 22:07:52 -0700 |
commit | 3160ec353e62fb9fea2ea8a0439f5973b57adcac (patch) | |
tree | 85474f941ab0229b1dc2234c3bf424f7b504abce /include | |
parent | f354bcc1770e9df88db51eba5a4543a09ca6d128 (diff) | |
download | external_mesa3d-3160ec353e62fb9fea2ea8a0439f5973b57adcac.zip external_mesa3d-3160ec353e62fb9fea2ea8a0439f5973b57adcac.tar.gz external_mesa3d-3160ec353e62fb9fea2ea8a0439f5973b57adcac.tar.bz2 |
dri: Add __DRIimage support for the ARGB2101010 format
We add support for the ARGB2101010 color format to the DRI image extension,
which allows DRI loaders to create a __DRIimage with this color format.
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/internal/dri_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index 709fece..33b41ea 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -964,6 +964,8 @@ struct __DRIdri2ExtensionRec { #define __DRI_IMAGE_FORMAT_R8 0x1006 /* Since version 5 */ #define __DRI_IMAGE_FORMAT_GR88 0x1007 #define __DRI_IMAGE_FORMAT_NONE 0x1008 +#define __DRI_IMAGE_FORMAT_XRGB2101010 0x1009 +#define __DRI_IMAGE_FORMAT_ARGB2101010 0x100a #define __DRI_IMAGE_USE_SHARE 0x0001 #define __DRI_IMAGE_USE_SCANOUT 0x0002 |