summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_batchbuffer.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-04 21:35:29 +0000
committerKeith Whitwell <[email protected]>2009-11-04 21:37:07 +0000
commit951fdac566c3f2124f82aa94da08f55a10608f25 (patch)
treee3650db3e258c1296b4255311b3c5ee9a9bf3850 /src/gallium/drivers/i965/brw_batchbuffer.h
parentcde48bc8d1576482d7381b9b6fdce32b013e5d00 (diff)
i965g: pull in a copy of intel_decode.c for now
With the stubbed out, non-hardware xlib winsys, trivial/clear runs and prints a plausible command stream
Diffstat (limited to 'src/gallium/drivers/i965/brw_batchbuffer.h')
-rw-r--r--src/gallium/drivers/i965/brw_batchbuffer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_batchbuffer.h b/src/gallium/drivers/i965/brw_batchbuffer.h
index 1828324cc09..b051638296c 100644
--- a/src/gallium/drivers/i965/brw_batchbuffer.h
+++ b/src/gallium/drivers/i965/brw_batchbuffer.h
@@ -28,6 +28,7 @@ struct brw_batchbuffer {
struct brw_winsys_screen *sws;
struct brw_winsys_buffer *buf;
+ struct brw_chipset chipset;
/* Main-memory copy of the batch-buffer, built up incrementally &
* then copied as one to the true buffer.
@@ -57,7 +58,8 @@ struct brw_batchbuffer {
/*@}*/
};
-struct brw_batchbuffer *brw_batchbuffer_alloc( struct brw_winsys_screen *sws );
+struct brw_batchbuffer *brw_batchbuffer_alloc( struct brw_winsys_screen *sws,
+ struct brw_chipset chipset );
void brw_batchbuffer_free(struct brw_batchbuffer *batch);