summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_winsys.h
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2011-07-06 02:19:48 -0700
committerStéphane Marchesin <[email protected]>2011-07-06 02:49:58 -0700
commite53b41f2632af26c79c4f7ed5b0fdb86a1feb602 (patch)
tree9499ab923e29bae2908ccf4a37bb88376cfae7e9 /src/gallium/drivers/i915/i915_winsys.h
parent2bc5e0e97ba7b6c32f6ff90cb90448173d74b89b (diff)
i915g: Improve flushing using heuristics.
Diffstat (limited to 'src/gallium/drivers/i915/i915_winsys.h')
-rw-r--r--src/gallium/drivers/i915/i915_winsys.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_winsys.h b/src/gallium/drivers/i915/i915_winsys.h
index 21cfdc9613e..20438609e07 100644
--- a/src/gallium/drivers/i915/i915_winsys.h
+++ b/src/gallium/drivers/i915/i915_winsys.h
@@ -207,6 +207,12 @@ struct i915_winsys {
void (*buffer_destroy)(struct i915_winsys *iws,
struct i915_winsys_buffer *buffer);
+
+ /**
+ * Check if a buffer is busy.
+ */
+ boolean (*buffer_is_busy)(struct i915_winsys *iws,
+ struct i915_winsys_buffer *buffer);
/*@}*/