summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2007-11-25 20:23:10 +0000
committerJosé Fonseca <[email protected]>2007-12-09 14:06:00 +0000
commit273f6e769897032b15a8739394669fd11f76f145 (patch)
tree3c4d92efb7373fd6eb943ebd28407bde15359137
parentb1399a5dd20fad801ee10383143439f8cf4615db (diff)
gallium: Remove buffer_unfence and buffer_finish.
These interfaces have been deemed useless by Keith.
-rw-r--r--src/mesa/pipe/pipebuffer/pb_buffer_fenced.c24
-rw-r--r--src/mesa/pipe/pipebuffer/pb_buffer_fenced.h21
2 files changed, 0 insertions, 45 deletions
diff --git a/src/mesa/pipe/pipebuffer/pb_buffer_fenced.c b/src/mesa/pipe/pipebuffer/pb_buffer_fenced.c
index c5a06c545e1..e69f88a323a 100644
--- a/src/mesa/pipe/pipebuffer/pb_buffer_fenced.c
+++ b/src/mesa/pipe/pipebuffer/pb_buffer_fenced.c
@@ -261,30 +261,6 @@ buffer_fence(struct pipe_buffer *buf,
}
-void
-buffer_unfence(struct pipe_buffer *buf)
-{
- buffer_fence(buf, NULL);
-}
-
-
-int
-buffer_finish(struct pipe_buffer *buf,
- unsigned flag)
-{
- if(buf->vtbl == &fenced_buffer_vtbl) {
- struct fenced_buffer *fenced_buf = fenced_buffer(buf);
- if(fenced_buf->fence) {
- struct fenced_buffer_list *fenced_list = fenced_buf->list;
- struct pipe_winsys *winsys = fenced_list->winsys;
- return winsys->fence_finish(winsys, fenced_buf->fence, flag);
- }
- }
-
- return 0;
-}
-
-
struct fenced_buffer_list *
fenced_buffer_list_create(struct pipe_winsys *winsys)
{
diff --git a/src/mesa/pipe/pipebuffer/pb_buffer_fenced.h b/src/mesa/pipe/pipebuffer/pb_buffer_fenced.h
index d12428e216b..07e42a67f87 100644
--- a/src/mesa/pipe/pipebuffer/pb_buffer_fenced.h
+++ b/src/mesa/pipe/pipebuffer/pb_buffer_fenced.h
@@ -114,25 +114,4 @@ buffer_fence(struct pipe_buffer *buf,
struct pipe_fence_handle *fence);
-/**
- * Remove the buffer's fence.
- *
- * NOTE: Although it takes a generic pipe buffer argument, it will fail
- * on everything but buffers returned by fenced_buffer_create.
- */
-void
-buffer_unfence(struct pipe_buffer *buf);
-
-
-/**
- * Wait for the buffer fence to signal.
- *
- * See also pipe_winsys::fence_finish().
- */
-int
-buffer_finish(struct pipe_buffer *buf,
- unsigned flag);
-
-
-
#endif /*PB_BUFFER_FENCED_H_*/