Rework gallium and mesa queries a little.
authorKeith Whitwell <keith@tungstengraphics.com>
Tue, 11 Dec 2007 17:10:26 +0000 (17:10 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Tue, 11 Dec 2007 17:10:48 +0000 (17:10 +0000)
commit13699463a33c1adf44005125c488e886e074a05b
treecb9e0b85f96fd931f87d3b1fc813723013d2a2b7
parentb247ab036327d66b8b9b1aff2dbcf4520ed0284f
Rework gallium and mesa queries a little.

Add a 'CheckQuery()' driver callback to mesa to check query completion.
Make pipe_query an opaque type.
Rework softpipe queries, support overlapping occlusion queries.
14 files changed:
src/mesa/drivers/common/driverfuncs.c
src/mesa/main/dd.h
src/mesa/main/queryobj.c
src/mesa/main/queryobj.h
src/mesa/pipe/i915simple/i915_context.c
src/mesa/pipe/p_context.h
src/mesa/pipe/p_state.h
src/mesa/pipe/softpipe/Makefile
src/mesa/pipe/softpipe/sp_context.c
src/mesa/pipe/softpipe/sp_context.h
src/mesa/pipe/softpipe/sp_quad_occlusion.c
src/mesa/pipe/softpipe/sp_query.c [new file with mode: 0644]
src/mesa/pipe/softpipe/sp_query.h [new file with mode: 0644]
src/mesa/state_tracker/st_cb_queryobj.c