diff options
Diffstat (limited to 'gl/internal/dri_interface.h')
-rw-r--r-- | gl/internal/dri_interface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gl/internal/dri_interface.h b/gl/internal/dri_interface.h index 2132277f0..7b9de0359 100644 --- a/gl/internal/dri_interface.h +++ b/gl/internal/dri_interface.h @@ -851,6 +851,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);
};
|