diff options
author | Keith Whitwell <[email protected]> | 2008-12-12 12:05:39 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-12-12 12:05:39 +0000 |
commit | aef455c4a7bbd7df97a6444ae332cb5fb976e627 (patch) | |
tree | 11997606ea3824dddd445b5c73c0b604dff345a9 /src/gallium/auxiliary/pipebuffer/pb_winsys.c | |
parent | 9b3bce6bed36a37293cd67ed4e9a05dd6e1c9d80 (diff) |
Revert "pipebuffer: Implement proper buffer validation."
This reverts commit a6d866f72c88d48d2bcfb3e3c882fdb639b5a8ce.
Diffstat (limited to 'src/gallium/auxiliary/pipebuffer/pb_winsys.c')
-rw-r--r-- | src/gallium/auxiliary/pipebuffer/pb_winsys.c | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_winsys.c b/src/gallium/auxiliary/pipebuffer/pb_winsys.c index 45a883e5322..28d137dbc43 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_winsys.c +++ b/src/gallium/auxiliary/pipebuffer/pb_winsys.c @@ -30,7 +30,7 @@ * Implementation of client buffer (also designated as "user buffers"), which * are just state-tracker owned data masqueraded as buffers. * - * \author Jose Fonseca <[email protected]> + * \author Jos� Fonseca <[email protected]> */ @@ -91,24 +91,6 @@ pb_user_buffer_unmap(struct pb_buffer *buf) } -static enum pipe_error -pb_user_buffer_validate(struct pb_buffer *buf, - struct pb_validate *vl, - unsigned flags) -{ - assert(0); - return PIPE_ERROR; -} - - -static void -pb_user_buffer_fence(struct pb_buffer *buf, - struct pipe_fence_handle *fence) -{ - assert(0); -} - - static void pb_user_buffer_get_base_buffer(struct pb_buffer *buf, struct pb_buffer **base_buf, @@ -124,8 +106,6 @@ pb_user_buffer_vtbl = { pb_user_buffer_destroy, pb_user_buffer_map, pb_user_buffer_unmap, - pb_user_buffer_validate, - pb_user_buffer_fence, pb_user_buffer_get_base_buffer }; |