Merge remote branch 'origin/master' into gallium_draw_llvm
[mesa.git] / src / gallium / drivers / cell / ppu / cell_flush.h
index eda351b1cbc82ea0bf0a7738748b3cce87d561cb..509ae6239acb099f8d35e3c21aa5ec50e1133878 100644 (file)
 #ifndef CELL_FLUSH
 #define CELL_FLUSH
 
+#define CELL_FLUSH_WAIT 0x80000000
+
+extern void
+cell_flush(struct pipe_context *pipe, unsigned flags,
+           struct pipe_fence_handle **fence);
+
 extern void
-cell_flush(struct pipe_context *pipe, unsigned flags);
+cell_flush_int(struct cell_context *cell, unsigned flags);
 
 extern void
-cell_flush_int(struct pipe_context *pipe, unsigned flags);
+cell_flush_buffer_range(struct cell_context *cell, void *ptr,
+                       unsigned size);
 
 #endif