diff options
author | Benjamin Franzke <[email protected]> | 2011-03-09 20:47:42 +0100 |
---|---|---|
committer | Benjamin Franzke <[email protected]> | 2011-06-23 21:07:17 +0200 |
commit | 5fbbd4c19fca6486050990893e8e8c1835ba0b4d (patch) | |
tree | 27a2784040d2e40462af5dca6a37e0432ed355e8 /include | |
parent | fa5478c5fe88e9c07d30203984b712925de84d2e (diff) |
dri: Add dupImage to DRIimageExtension
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/internal/dri_interface.h | 5 |
1 files changed, 5 insertions, 0 deletions
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); }; |