summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-10-14 17:44:19 +1000
committerDave Airlie <[email protected]>2009-10-14 17:44:19 +1000
commit51d1cf55da6f8b8a215814589a189b6e5e537fe5 (patch)
tree07d2b29ece39155fe8b8401fbdc1e9e0f800b81b /src/gallium/drivers/r300/r300_context.h
parent47791697ab6eb6965f0ba8ba3f20373b3753ca2a (diff)
r300g: port over last parts of oq support.
Add support for begin/end in each CS so we don't get any other processes rendering in between. TODO: blame other parts of driver for this not working like Z.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index 3a01869ba10..7826ed14525 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -175,6 +175,8 @@ struct r300_query {
unsigned offset;
/* if we've flushed the query */
boolean flushed;
+ /* if begin has been emitted */
+ boolean begin_emitted;
/* Linked list members. */
struct r300_query* prev;
struct r300_query* next;