summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/failover/fo_context.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-09-11 16:01:17 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-09-11 16:01:17 -0600
commit09fbb3837b6aa5dfc6c94f41ab5443820177c569 (patch)
tree760ff57ac6a5fc503c41e9eb783fb82cb5a428e6 /src/mesa/pipe/failover/fo_context.c
parent5620d66e362acff99dbc748feec1da1e0f997288 (diff)
Implement query object interface.
This replaces the temporary occlusion counter functions we had before. Added new ctx->Driver.WaitQuery() function which should block until the result is ready. Sketch out some code for vertex transformation feedback counters.
Diffstat (limited to 'src/mesa/pipe/failover/fo_context.c')
-rw-r--r--src/mesa/pipe/failover/fo_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/failover/fo_context.c b/src/mesa/pipe/failover/fo_context.c
index b88f1b466c..c58fc9cedc 100644
--- a/src/mesa/pipe/failover/fo_context.c
+++ b/src/mesa/pipe/failover/fo_context.c
@@ -129,8 +129,8 @@ struct pipe_context *failover_create( struct pipe_context *hw,
* at this point - if the hardware doesn't support it, don't
* advertise it to the application.
*/
- failover->pipe.reset_occlusion_counter = hw->reset_occlusion_counter;
- failover->pipe.get_occlusion_counter = hw->get_occlusion_counter;
+ failover->pipe.begin_query = hw->begin_query;
+ failover->pipe.end_query = hw->end_query;
failover_init_state_functions( failover );