diff options
author | Dave Airlie <[email protected]> | 2009-10-14 17:14:43 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-10-14 17:14:43 +1000 |
commit | 47791697ab6eb6965f0ba8ba3f20373b3753ca2a (patch) | |
tree | aca935bf2a2330a15a4fcd07cf832d733a8e8959 /src/gallium/drivers/r300/r300_context.h | |
parent | c1bee7bdea470b6b5dcebef9aacc8fe4feca687c (diff) |
r300g: convert query to a state for emitting.
This means we don't emit in the begin query but when we have
to flush. Similiar to classic.
TODO:
make query object actually work.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 2 |
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 9b0094b63ca..3a01869ba10 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -141,6 +141,7 @@ struct r300_viewport_state { #define R300_NEW_VERTEX_FORMAT 0x04000000 #define R300_NEW_VERTEX_SHADER 0x08000000 #define R300_NEW_VIEWPORT 0x10000000 +#define R300_NEW_QUERY 0x20000000 #define R300_NEW_KITCHEN_SINK 0x1fffffff /* The next several objects are not pure Radeon state; they inherit from @@ -239,6 +240,7 @@ struct r300_context { /* Occlusion query buffer. */ struct pipe_buffer* oqbo; /* Query list. */ + struct r300_query *query_current; struct r300_query query_list; /* Various CSO state objects. */ |