diff options
author | Kasireddy, Vivek <vivek.kasireddy@intel.com> | 2019-02-12 16:44:04 -0800 |
---|---|---|
committer | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2019-02-26 13:08:52 +0000 |
commit | 65600d0946193b786c3fa780c7e72c9dc0a49186 (patch) | |
tree | 5c86380b0d9595c1c4449bad7bb4bbb2b535590e /include | |
parent | ff14d06be5f731b1fab5e312281e99487500de6e (diff) | |
download | mesa-65600d0946193b786c3fa780c7e72c9dc0a49186.tar.gz |
dri: Add XYUV8888 format
In addition to adding this format to the dri_interface header,
add an entry in the android and wayland backends as well.
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
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 26b4bb12908..0858092ecf5 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -1347,6 +1347,7 @@ struct __DRIdri2ExtensionRec { #define __DRI_IMAGE_FOURCC_YUYV 0x56595559 #define __DRI_IMAGE_FOURCC_UYVY 0x59565955 #define __DRI_IMAGE_FOURCC_AYUV 0x56555941 +#define __DRI_IMAGE_FOURCC_XYUV8888 0x56555958 #define __DRI_IMAGE_FOURCC_YVU410 0x39555659 #define __DRI_IMAGE_FOURCC_YVU411 0x31315659 @@ -1378,6 +1379,7 @@ struct __DRIdri2ExtensionRec { #define __DRI_IMAGE_COMPONENTS_Y_XUXV 0x3005 #define __DRI_IMAGE_COMPONENTS_Y_UXVX 0x3008 #define __DRI_IMAGE_COMPONENTS_AYUV 0x3009 +#define __DRI_IMAGE_COMPONENTS_XYUV 0x300A #define __DRI_IMAGE_COMPONENTS_R 0x3006 #define __DRI_IMAGE_COMPONENTS_RG 0x3007 |