aboutsummaryrefslogtreecommitdiff
path: root/gl/internal
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2014-08-22 21:51:08 +0200
committermarha <marha@users.sourceforge.net>2014-08-22 21:51:08 +0200
commitbcb354180f20f0c410a77bd32cbf2c1e799632d5 (patch)
tree17d9af613872a12c098572c3fbebef538edf76f5 /gl/internal
parent8e27619ab489dece35cc4bec86950ee7729cd309 (diff)
downloadvcxsrv-bcb354180f20f0c410a77bd32cbf2c1e799632d5.tar.gz
vcxsrv-bcb354180f20f0c410a77bd32cbf2c1e799632d5.tar.bz2
vcxsrv-bcb354180f20f0c410a77bd32cbf2c1e799632d5.zip
Compiled and synchronised
Diffstat (limited to 'gl/internal')
-rw-r--r--gl/internal/dri_interface.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/gl/internal/dri_interface.h b/gl/internal/dri_interface.h
index ad000bdfb..82835a293 100644
--- a/gl/internal/dri_interface.h
+++ b/gl/internal/dri_interface.h
@@ -1009,7 +1009,7 @@ struct __DRIdri2ExtensionRec {
* extensions.
*/
#define __DRI_IMAGE "DRI_IMAGE"
-#define __DRI_IMAGE_VERSION 9
+#define __DRI_IMAGE_VERSION 10
/**
* These formats correspond to the similarly named MESA_FORMAT_*
@@ -1138,6 +1138,13 @@ enum __DRIChromaSiting {
/*@}*/
/**
+ * \name Capabilities that might be returned by __DRIimageExtensionRec::getCapabilities
+ */
+/*@{*/
+#define __DRI_IMAGE_CAP_GLOBAL_NAMES 1
+/*@}*/
+
+/**
* blitImage flags
*/
@@ -1265,6 +1272,14 @@ struct __DRIimageExtensionRec {
int dstx0, int dsty0, int dstwidth, int dstheight,
int srcx0, int srcy0, int srcwidth, int srcheight,
int flush_flag);
+
+ /**
+ * Query for general capabilities of the driver that concern
+ * buffer sharing and image importing.
+ *
+ * \since 10
+ */
+ int (*getCapabilities)(__DRIscreen *screen);
};