Module: Mesa Branch: master Commit: 5fbbd4c19fca6486050990893e8e8c1835ba0b4d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5fbbd4c19fca6486050990893e8e8c1835ba0b4d
Author: Benjamin Franzke <[email protected]> Date: Wed Mar 9 20:47:42 2011 +0100 dri: Add dupImage to DRIimageExtension --- 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 f022b44..4fe9e94 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); }; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
