util: add mutex lock in u_debug_memory.c code
[mesa.git] / src / gallium / auxiliary / pipebuffer / pb_bufmgr.h
index cec2524da2bdefc31bcc8612ab39002b5ae2383a..960068c494db584ae2a81bf0dc01236b91bcb70a 100644 (file)
@@ -50,8 +50,7 @@
 #define PB_BUFMGR_H_
 
 
-#include "pipe/p_compiler.h"
-#include "pipe/p_defines.h"
+#include "pb_buffer.h"
 
 
 #ifdef __cplusplus
@@ -83,6 +82,10 @@ struct pb_manager
     */
    void
    (*flush)( struct pb_manager *mgr );
+
+   boolean
+   (*is_buffer_busy)( struct pb_manager *mgr,
+                      struct pb_buffer *buf );
 };