summaryrefslogtreecommitdiff
path: root/include/GL
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2019-02-26 18:41:07 +0100
committerChristian Gmeiner <christian.gmeiner@gmail.com>2019-03-11 22:19:11 +0100
commit076a7095bb46cd11ac1938be1652f5fdf862467b (patch)
tree818db1a7d809ec5922c49531cf0a98f4731cb46e /include/GL
parent04ff2e3fbbb981606aa4d469316f6f00cc8083db (diff)
st/dri: allow direct UYVY import
Push this format to the pipe driver unchanged. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'include/GL')
-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 0858092ecf5..af0ee9c5667 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -1292,6 +1292,7 @@ struct __DRIdri2ExtensionRec {
#define __DRI_IMAGE_FORMAT_XBGR2101010 0x1010
#define __DRI_IMAGE_FORMAT_ABGR2101010 0x1011
#define __DRI_IMAGE_FORMAT_SABGR8 0x1012
+#define __DRI_IMAGE_FORMAT_UYVY 0x1013
#define __DRI_IMAGE_USE_SHARE 0x0001
#define __DRI_IMAGE_USE_SCANOUT 0x0002