summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-02-04 11:59:12 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-02-07 13:52:28 +0100
commit1b8ef9416bf3a4d2d47fcf9935063af57da2975d (patch)
treeacd062e00a9107e6a77fde576612e599359fcc81 /include
parenta22bda9f80070393581c6ac512c03aa3144577ef (diff)
Add dri2::{Allocate,Release}Buffer extension
Diffstat (limited to 'include')
-rw-r--r--include/GL/internal/dri_interface.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index 0351526773..2fb729afcd 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -786,6 +786,14 @@ struct __DRIdri2ExtensionRec {
const __DRIconfig *config,
__DRIcontext *shared,
void *data);
+
+ __DRIbuffer *(*allocateBuffer)(__DRIscreen *screen,
+ unsigned int attachment,
+ unsigned int format,
+ int width,
+ int height);
+ void (*releaseBuffer)(__DRIscreen *screen,
+ __DRIbuffer *buffer);
};