aboutsummaryrefslogtreecommitdiff
path: root/mesalib/include/GL/internal/dri_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/include/GL/internal/dri_interface.h')
-rw-r--r--mesalib/include/GL/internal/dri_interface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mesalib/include/GL/internal/dri_interface.h b/mesalib/include/GL/internal/dri_interface.h
index 2132277f0..7b9de0359 100644
--- a/mesalib/include/GL/internal/dri_interface.h
+++ b/mesalib/include/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);
};