summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/pipebuffer/pb_bufmgr.h
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-05-27 00:19:41 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-05-27 00:19:41 +0900
commit35cfd0a4900750f67cba4f64929ff3347f0bd46f (patch)
tree23ff08745c1376d56c623a35440e386a0a5e78e0 /src/gallium/auxiliary/pipebuffer/pb_bufmgr.h
parenta0e2955a16a8a04afe7f84b1c8551211542a6fbd (diff)
pipebuffer: Malloc buffer provider.
Simple wrapper around pb_malloc_buffer_create for convenience.
Diffstat (limited to 'src/gallium/auxiliary/pipebuffer/pb_bufmgr.h')
-rw-r--r--src/gallium/auxiliary/pipebuffer/pb_bufmgr.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_bufmgr.h b/src/gallium/auxiliary/pipebuffer/pb_bufmgr.h
index f6cc7a525b..4a922d16c1 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_bufmgr.h
+++ b/src/gallium/auxiliary/pipebuffer/pb_bufmgr.h
@@ -79,6 +79,15 @@ struct pb_manager
};
+/**
+ * Malloc buffer provider.
+ *
+ * Simple wrapper around pb_malloc_buffer_create for convenience.
+ */
+struct pb_manager *
+pb_malloc_bufmgr_create(void);
+
+
/**
* Static buffer pool sub-allocator.
*