gallium: Change pipe->flush() interface to optionally return a fence.

The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run
proper fencing should be implemented for it.
This commit is contained in:
Michel Dänzer
2008-03-26 09:36:40 +00:00
parent e55dccd0bf
commit 4abe1eb980
28 changed files with 128 additions and 84 deletions

View File

@@ -37,7 +37,7 @@ extern "C" {
struct pipe_screen;
struct pipe_fence_handle;
struct pipe_state_cache;
/* Opaque driver handles:
@@ -202,7 +202,8 @@ struct pipe_context {
/* Flush rendering:
*/
void (*flush)( struct pipe_context *pipe,
unsigned flags );
unsigned flags,
struct pipe_fence_handle **fence );
};