diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-09-20 06:34:23 -0700 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-09-21 09:44:25 -0700 |
commit | 7ce597508e7400e962c8fdb2d255f9887cb9c710 (patch) | |
tree | 4a34d426e1ec2eefa3aed84cf6e212dc81f55478 /src/mesa/drivers/common | |
parent | dc8058c3370588bfcad49fadace1691da47d58cd (diff) |
mesa: improved driver query interface
Brought over from gallium-0.2 branch.
Diffstat (limited to 'src/mesa/drivers/common')
-rw-r--r-- | src/mesa/drivers/common/driverfuncs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c index f6411f303b..9e2cce5bbe 100644 --- a/src/mesa/drivers/common/driverfuncs.c +++ b/src/mesa/drivers/common/driverfuncs.c @@ -228,8 +228,10 @@ _mesa_init_driver_functions(struct dd_function_table *driver) /* query objects */ driver->NewQueryObject = _mesa_new_query_object; - driver->BeginQuery = NULL; - driver->EndQuery = NULL; + driver->DeleteQuery = _mesa_delete_query; + driver->BeginQuery = _mesa_begin_query; + driver->EndQuery = _mesa_end_query; + driver->WaitQuery = _mesa_wait_query; /* APPLE_vertex_array_object */ driver->NewArrayObject = _mesa_new_array_object; |