From 5fbbd4c19fca6486050990893e8e8c1835ba0b4d Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 9 Mar 2011 20:47:42 +0100 Subject: [PATCH] dri: Add dupImage to DRIimageExtension --- include/GL/internal/dri_interface.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index f022b44b260..4fe9e943b55 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -849,6 +849,11 @@ struct __DRIimageExtensionRec { void *loaderPrivate); GLboolean (*queryImage)(__DRIimage *image, int attrib, int *value); + + /** + * The new __DRIimage will share the content with the old one, see dup(2). + */ + __DRIimage *(*dupImage)(__DRIimage *image, void *loaderPrivate); }; -- 2.30.2