Module: Mesa
Branch: master
Commit: 7cb17862c6a5690fbe88508cbb772ba92373292f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7cb17862c6a5690fbe88508cbb772ba92373292f

Author: José Fonseca <[email protected]>
Date:   Sun Mar  6 09:12:58 2011 +0000

pb: Add is_buffer_busy for malloc buffers.

---

 .../auxiliary/pipebuffer/pb_buffer_malloc.c        |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c 
b/src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c
index c2322ee..5754f47 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c
+++ b/src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c
@@ -174,11 +174,20 @@ pb_malloc_bufmgr_destroy(struct pb_manager *mgr)
 }
 
 
+static boolean
+pb_malloc_bufmgr_is_buffer_busy( struct pb_manager *mgr,
+                                 struct pb_buffer *buf )
+{
+   return FALSE;
+}
+
+
 static struct pb_manager 
 pb_malloc_bufmgr = {
    pb_malloc_bufmgr_destroy,
    pb_malloc_bufmgr_create_buffer,
-   pb_malloc_bufmgr_flush
+   pb_malloc_bufmgr_flush,
+   pb_malloc_bufmgr_is_buffer_busy
 };
 
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to