summaryrefslogtreecommitdiffstats
path: root/include/GL
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2019-02-11 10:01:35 +0200
committerTapani Pälli <[email protected]>2019-02-12 08:42:02 +0200
commit722f96bfc83b7ab2981756e5d887d0dc8ee1b4f0 (patch)
tree1b4d666359b0c58d5236d0b1b7194104b6b56d7c /include/GL
parent19a85a704bb163c80e9c87aa5a03da1e6574a8dd (diff)
dri: add P010, P012, P016 for 10bit/12bit/16bit YUV420 formats
Signed-off-by: Tapani Pälli <[email protected]> Signed-off-by: Lin Johnson <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/internal/dri_interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index f2e46f65f92..6d134e3a40f 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -1352,6 +1352,10 @@ struct __DRIdri2ExtensionRec {
#define __DRI_IMAGE_FOURCC_YVU422 0x36315659
#define __DRI_IMAGE_FOURCC_YVU444 0x34325659
+#define __DRI_IMAGE_FOURCC_P010 0x30313050
+#define __DRI_IMAGE_FOURCC_P012 0x32313050
+#define __DRI_IMAGE_FOURCC_P016 0x36313050
+
/**
* Queryable on images created by createImageFromNames.
*