diff options
author | marha <marha@users.sourceforge.net> | 2012-01-20 09:35:29 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-01-20 09:35:29 +0100 |
commit | a8ef69cc0c9e5281e6b745dd4a2be75f629eb8b8 (patch) | |
tree | 8bc980551565964e13d046f54ee3876ba2bb7f14 /mesalib/include/GL/internal/dri_interface.h | |
parent | 34c1e86406451a3604de4982339058088434ab40 (diff) | |
download | vcxsrv-a8ef69cc0c9e5281e6b745dd4a2be75f629eb8b8.tar.gz vcxsrv-a8ef69cc0c9e5281e6b745dd4a2be75f629eb8b8.tar.bz2 vcxsrv-a8ef69cc0c9e5281e6b745dd4a2be75f629eb8b8.zip |
xserver xkeyboard-config git update 20 jan 2012
Diffstat (limited to 'mesalib/include/GL/internal/dri_interface.h')
-rw-r--r-- | mesalib/include/GL/internal/dri_interface.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mesalib/include/GL/internal/dri_interface.h b/mesalib/include/GL/internal/dri_interface.h index b21445f10..701e83e78 100644 --- a/mesalib/include/GL/internal/dri_interface.h +++ b/mesalib/include/GL/internal/dri_interface.h @@ -894,7 +894,7 @@ struct __DRIdri2ExtensionRec { * extensions. */ #define __DRI_IMAGE "DRI_IMAGE" -#define __DRI_IMAGE_VERSION 1 +#define __DRI_IMAGE_VERSION 2 /** * These formats correspond to the similarly named MESA_FORMAT_* @@ -946,6 +946,13 @@ struct __DRIimageExtensionRec { * The new __DRIimage will share the content with the old one, see dup(2). */ __DRIimage *(*dupImage)(__DRIimage *image, void *loaderPrivate); + + /** + * Validate that a __DRIimage can be used a certain way. + * + * \since 2 + */ + GLboolean (*validateUsage)(__DRIimage *image, unsigned int use); }; |