summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple/i915_winsys.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-08-08 11:10:37 +0100
committerKeith Whitwell <[email protected]>2007-08-08 11:14:08 +0100
commitdbb297fac6a9637cc7ee7ab2cf40f196048ba626 (patch)
tree51182cf8ee3d28c5ed36ac745d99082d1891c8cb /src/mesa/pipe/i915simple/i915_winsys.h
parent7e78b9e4d0117d7438fa1a07dff2bc261a9100d9 (diff)
Hook up i915simple. Doesn't compile.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_winsys.h')
-rw-r--r--src/mesa/pipe/i915simple/i915_winsys.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/mesa/pipe/i915simple/i915_winsys.h b/src/mesa/pipe/i915simple/i915_winsys.h
index 514c53c7b21..50cb231422d 100644
--- a/src/mesa/pipe/i915simple/i915_winsys.h
+++ b/src/mesa/pipe/i915simple/i915_winsys.h
@@ -51,16 +51,12 @@ struct pipe_buffer_handle;
struct i915_winsys {
- /* The buffer manager is modeled after the dri_bugmgr interface,
- * but this is the subset that i915 cares about. Remember that
- * i915 gets to choose the interface it needs, and the window
- * systems must then implement that interface (rather than the
- * other way around...).
- *
- * I915 only really wants to make system memory allocations,
- * right??
+ /* Many of the winsys's are probably going to have a similar
+ * buffer-manager interface, as something almost identical is
+ * currently exposed in the pipe interface. Probably want to avoid
+ * endless repetition of this code somehow.
*/
- struct pipe_buffer_handle *(*create_buffer)(struct i915_winsys *sws,
+ struct pipe_buffer_handle *(*buffer_create)(struct i915_winsys *sws,
unsigned alignment );
void *(*buffer_map)( struct i915_winsys *sws,
@@ -110,6 +106,7 @@ struct i915_winsys {
unsigned access_flags,
unsigned delta );
void (*batch_flush)( struct i915_winsys *sws );
+ void (*batch_wait_idle)( struct i915_winsys *sws );
/* Printf???