dri: Add dupImage to DRIimageExtension

This commit is contained in:
Benjamin Franzke 2011-03-09 20:47:42 +01:00
parent fa5478c5fe
commit 5fbbd4c19f
1 changed files with 5 additions and 0 deletions

View File

@ -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);
};