aboutsummaryrefslogtreecommitdiff
path: root/gl/internal/dri_interface.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-08-07 08:38:42 +0200
committermarha <marha@users.sourceforge.net>2012-08-07 08:38:42 +0200
commit25132f61b59fbf4cba2be6652c0655fe13435eb8 (patch)
treee2bb9bced9d0e156f6441073ac7fe63f6952f1bb /gl/internal/dri_interface.h
parent666141b21e89c617ca466af62ebcb56dc4f5450c (diff)
downloadvcxsrv-25132f61b59fbf4cba2be6652c0655fe13435eb8.tar.gz
vcxsrv-25132f61b59fbf4cba2be6652c0655fe13435eb8.tar.bz2
vcxsrv-25132f61b59fbf4cba2be6652c0655fe13435eb8.zip
synchronised files
Diffstat (limited to 'gl/internal/dri_interface.h')
-rw-r--r--gl/internal/dri_interface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gl/internal/dri_interface.h b/gl/internal/dri_interface.h
index bcdd7f605..9aef95860 100644
--- a/gl/internal/dri_interface.h
+++ b/gl/internal/dri_interface.h
@@ -916,7 +916,7 @@ struct __DRIdri2ExtensionRec {
* extensions.
*/
#define __DRI_IMAGE "DRI_IMAGE"
-#define __DRI_IMAGE_VERSION 4
+#define __DRI_IMAGE_VERSION 5
/**
* These formats correspond to the similarly named MESA_FORMAT_*
@@ -950,6 +950,8 @@ struct __DRIdri2ExtensionRec {
#define __DRI_IMAGE_ATTRIB_HANDLE 0x2001
#define __DRI_IMAGE_ATTRIB_NAME 0x2002
#define __DRI_IMAGE_ATTRIB_FORMAT 0x2003 /* available in versions 3+ */
+#define __DRI_IMAGE_ATTRIB_WIDTH 0x2004 /* available in versions 5+ */
+#define __DRI_IMAGE_ATTRIB_HEIGHT 0x2005
typedef struct __DRIimageRec __DRIimage;
typedef struct __DRIimageExtensionRec __DRIimageExtension;