summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen_buffer.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-06-02 06:45:00 +0200
committerMarek Olšák <maraeo@gmail.com>2010-06-02 07:01:08 +0200
commitb6b76cbb20b3d9467011231069e23972b98afa49 (patch)
tree42a99cd9d4c12f6ee49004102a6a1272be08a327 /src/gallium/drivers/r300/r300_screen_buffer.h
parentbb45a15168e6c6678776fea5d8d0085454089260 (diff)
downloadexternal_mesa3d-b6b76cbb20b3d9467011231069e23972b98afa49.zip
external_mesa3d-b6b76cbb20b3d9467011231069e23972b98afa49.tar.gz
external_mesa3d-b6b76cbb20b3d9467011231069e23972b98afa49.tar.bz2
r300g: store the GEM domain in buffer and texture structs
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen_buffer.h')
-rw-r--r--src/gallium/drivers/r300/r300_screen_buffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen_buffer.h b/src/gallium/drivers/r300/r300_screen_buffer.h
index b4776fa..87b42b9 100644
--- a/src/gallium/drivers/r300/r300_screen_buffer.h
+++ b/src/gallium/drivers/r300/r300_screen_buffer.h
@@ -52,6 +52,8 @@ struct r300_buffer
struct r300_winsys_buffer *buf;
+ enum r300_buffer_domain domain;
+
void *user_buffer;
struct r300_buffer_range ranges[R300_BUFFER_MAX_RANGES];
unsigned num_ranges;