diff options
author | marha <marha@users.sourceforge.net> | 2014-08-22 21:51:08 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2014-08-22 21:51:08 +0200 |
commit | bcb354180f20f0c410a77bd32cbf2c1e799632d5 (patch) | |
tree | 17d9af613872a12c098572c3fbebef538edf76f5 /gl/internal | |
parent | 8e27619ab489dece35cc4bec86950ee7729cd309 (diff) | |
download | vcxsrv-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.h | 17 |
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); }; |