r300: add occlusion queries support
authorMaciej Cencora <m.cencora@gmail.com>
Thu, 11 Jun 2009 14:13:23 +0000 (16:13 +0200)
committerMaciej Cencora <m.cencora@gmail.com>
Sat, 15 Aug 2009 13:14:11 +0000 (15:14 +0200)
commit0d0f01e2e0b37ed5152614ceeff34da8e46b5e37
tree1715aa1909a08c260bc925fc56af69af51b321d9
parentf2daded8123c0d82e4cd29710a5b2dfcc99068a1
r300: add occlusion queries support

TODO:
- use proper interface for checking if bo is idle when it's available
- disable ZTOP only when needed
- make it work under KMS
src/mesa/drivers/dri/r300/Makefile
src/mesa/drivers/dri/r300/r300_context.c
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/r300/r300_draw.c
src/mesa/drivers/dri/r300/r300_queryobj.c [new file with mode: 0644]
src/mesa/drivers/dri/r300/r300_queryobj.h [new file with mode: 0644]
src/mesa/drivers/dri/r300/r300_reg.h
src/mesa/drivers/dri/r300/r300_render.c