summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2017-05-30 15:07:13 +0200
committerLucas Stach <dev@lynxeye.de>2017-12-20 16:54:37 +0100
commit51523ab9fa21ef3ee02dfa9e5995eab654cfe43a (patch)
tree1df1609fc3d6ea7fc062bcb322f2e31e004171a1 /include
parent9702fac68e8bd07be8871f7925d7f9fb98da3699 (diff)
st/dri: allow direct YUYV import
Push this format to the pipe driver unchanged. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
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 b47947380c..5b6cc8d70e 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -1226,6 +1226,7 @@ struct __DRIdri2ExtensionRec {
#define __DRI_IMAGE_FORMAT_ARGB1555 0x100c
#define __DRI_IMAGE_FORMAT_R16 0x100d
#define __DRI_IMAGE_FORMAT_GR1616 0x100e
+#define __DRI_IMAGE_FORMAT_YUYV 0x100f
#define __DRI_IMAGE_USE_SHARE 0x0001
#define __DRI_IMAGE_USE_SCANOUT 0x0002