From 665d6d6c1e5ebbb925e73bd3637d228def5a977d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 28 Jan 2009 15:52:39 +0000 Subject: pipebuffer: Export the pipe buffer winsys hooks. --- src/gallium/auxiliary/pipebuffer/pb_winsys.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/gallium/auxiliary/pipebuffer/pb_winsys.c') diff --git a/src/gallium/auxiliary/pipebuffer/pb_winsys.c b/src/gallium/auxiliary/pipebuffer/pb_winsys.c index 28d137dbc4..e2f1008cc2 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_winsys.c +++ b/src/gallium/auxiliary/pipebuffer/pb_winsys.c @@ -38,6 +38,7 @@ #include "util/u_memory.h" #include "pb_buffer.h" +#include "pb_winsys.h" /** @@ -110,7 +111,7 @@ pb_user_buffer_vtbl = { }; -static struct pipe_buffer * +struct pipe_buffer * pb_winsys_user_buffer_create(struct pipe_winsys *winsys, void *data, unsigned bytes) @@ -132,7 +133,7 @@ pb_winsys_user_buffer_create(struct pipe_winsys *winsys, } -static void * +void * pb_winsys_buffer_map(struct pipe_winsys *winsys, struct pipe_buffer *buf, unsigned flags) @@ -142,7 +143,7 @@ pb_winsys_buffer_map(struct pipe_winsys *winsys, } -static void +void pb_winsys_buffer_unmap(struct pipe_winsys *winsys, struct pipe_buffer *buf) { @@ -151,7 +152,7 @@ pb_winsys_buffer_unmap(struct pipe_winsys *winsys, } -static void +void pb_winsys_buffer_destroy(struct pipe_winsys *winsys, struct pipe_buffer *buf) { -- cgit v1.2.3