summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_resource_buffer.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-03-16 11:17:48 +0000
committerJosé Fonseca <jfonseca@vmware.com>2011-03-16 11:21:12 +0000
commite08a3d674ad577fca24b69dd02b3f97b2e6b68d2 (patch)
tree560b5290214b933775f8083114ae7b81078b508a /src/gallium/drivers/svga/svga_resource_buffer.h
parent6b3713f8b864cbe238b0e7efb28bca54b91ef0f8 (diff)
downloadexternal_mesa3d-e08a3d674ad577fca24b69dd02b3f97b2e6b68d2.zip
external_mesa3d-e08a3d674ad577fca24b69dd02b3f97b2e6b68d2.tar.gz
external_mesa3d-e08a3d674ad577fca24b69dd02b3f97b2e6b68d2.tar.bz2
svga: Use transfer information on buffer transfers.
Should prevent the assert failure svga_buffer_flush_mapped_range: Assertion `sbuf->map.writing' failed. on nested transfers.
Diffstat (limited to 'src/gallium/drivers/svga/svga_resource_buffer.h')
-rw-r--r--src/gallium/drivers/svga/svga_resource_buffer.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_buffer.h b/src/gallium/drivers/svga/svga_resource_buffer.h
index c559f70..a689fcb 100644
--- a/src/gallium/drivers/svga/svga_resource_buffer.h
+++ b/src/gallium/drivers/svga/svga_resource_buffer.h
@@ -100,24 +100,10 @@ struct svga_buffer
struct {
/**
* Number of concurrent mappings.
- *
- * XXX: It is impossible to guarantee concurrent maps work in all
- * circumstances -- pipe_buffers really need transfer objects too.
*/
unsigned count;
/**
- * Whether this buffer is currently mapped for writing.
- */
- boolean writing;
-
- /**
- * Whether the application will tell us explicity which ranges it touched
- * or not.
- */
- boolean flush_explicit;
-
- /**
* Dirty ranges.
*
* Ranges that were touched by the application and need to be uploaded to