summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple/i915_winsys.h
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2007-11-16 17:36:35 +0000
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2007-11-17 15:39:36 +0000
commitdec60d33b2570cf2bdce72a00a1539ee93133f91 (patch)
treefa153cff2b98e93d56958faf165d99c523786241 /src/mesa/pipe/i915simple/i915_winsys.h
parent34a00276c7b2ee8ab88a56905352023f8a435a53 (diff)
Proper fence reference counting.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_winsys.h')
-rw-r--r--src/mesa/pipe/i915simple/i915_winsys.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/pipe/i915simple/i915_winsys.h b/src/mesa/pipe/i915simple/i915_winsys.h
index 03457c1d61..386ed745d3 100644
--- a/src/mesa/pipe/i915simple/i915_winsys.h
+++ b/src/mesa/pipe/i915simple/i915_winsys.h
@@ -98,7 +98,14 @@ struct i915_winsys {
unsigned access_flags,
unsigned delta );
- struct pipe_fence *(*batch_flush)( struct i915_winsys *sws );
+ /**
+ * Flush the batch buffer.
+ *
+ * Fence argument must point to NULL or to a previous fence, and the caller
+ * must call fence_reference when done with the fence.
+ */
+ void (*batch_flush)( struct i915_winsys *sws,
+ struct pipe_fence **fence );
/* Fence