From 8b6b5ce6691c80f3254964b746499d5ca75b59b1 Mon Sep 17 00:00:00 2001 From: Tapani Pälli Date: Fri, 15 Nov 2019 09:12:15 +0200 Subject: dri: add __DRI_IMAGE_FORMAT_SXRGB8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add format definition and required plumbing to create images. Cc: Signed-off-by: Tapani Pälli Reviewed-by: Lionel Landwerlin Part-of: --- include/GL/internal/dri_interface.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index f19ec5168a5..09782c8baeb 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -1343,6 +1343,7 @@ struct __DRIdri2ExtensionRec { #define __DRI_IMAGE_FORMAT_UYVY 0x1013 #define __DRI_IMAGE_FORMAT_XBGR16161616F 0x1014 #define __DRI_IMAGE_FORMAT_ABGR16161616F 0x1015 +#define __DRI_IMAGE_FORMAT_SXRGB8 0x1016 #define __DRI_IMAGE_USE_SHARE 0x0001 #define __DRI_IMAGE_USE_SCANOUT 0x0002 @@ -1370,6 +1371,7 @@ struct __DRIdri2ExtensionRec { #define __DRI_IMAGE_FOURCC_SARGB8888 0x83324258 #define __DRI_IMAGE_FOURCC_SABGR8888 0x84324258 +#define __DRI_IMAGE_FOURCC_SXRGB8888 0x85324258 /** * Queryable on images created by createImageFromNames. -- cgit v1.2.3