aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915simple/i915_context.h
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@aurora.(none)>2008-06-02 14:55:06 +0200
committerJakob Bornecrantz <[email protected]>2008-06-02 17:24:30 +0200
commit4ee14279f3a466093869f1f40819e6c6d5af378d (patch)
tree1ef05ca525c4bdb073e8b15c22f86274f6df2341 /src/gallium/drivers/i915simple/i915_context.h
parent5a67df6d7cc8c74bfb71a8f19b8f6fdfb525091b (diff)
i915: Rework of batchbuffer code
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_context.h')
-rw-r--r--src/gallium/drivers/i915simple/i915_context.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915simple/i915_context.h b/src/gallium/drivers/i915simple/i915_context.h
index 2da90ae49d9..2ee0381648d 100644
--- a/src/gallium/drivers/i915simple/i915_context.h
+++ b/src/gallium/drivers/i915simple/i915_context.h
@@ -209,6 +209,8 @@ struct i915_texture {
struct pipe_buffer *buffer;
};
+struct i915_batchbuffer;
+
struct i915_context
{
struct pipe_context pipe;
@@ -241,7 +243,7 @@ struct i915_context
unsigned num_vertex_elements;
unsigned num_vertex_buffers;
- unsigned *batch_start;
+ struct i915_batchbuffer *batch;
/** Vertex buffer */
struct pipe_buffer *vbo;