mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-04 04:10:25 +01:00
dri: Add dupImage to DRIimageExtension
This commit is contained in:
parent
fa5478c5fe
commit
5fbbd4c19f
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue