r300g: dynamically ask for and release Hyper-Z access
authorMarek Olšák <maraeo@gmail.com>
Sat, 7 May 2011 17:55:45 +0000 (19:55 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 15 May 2011 01:28:32 +0000 (03:28 +0200)
commitfdd37af3f76ea3ac32f21e9a9c41979a9b33cc5c
tree7296c98673124d2bcc39a530c00f75a00567c15e
parent904f43f1909256956856665acf072db71fb92092
r300g: dynamically ask for and release Hyper-Z access

We ask for Hyper-Z access when clearing a zbuffer.
We release it if no zbuffer clear has been done for 2 seconds.
src/gallium/drivers/r300/r300_blit.c
src/gallium/drivers/r300/r300_context.c
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_emit.c
src/gallium/drivers/r300/r300_flush.c
src/gallium/drivers/r300/r300_hyperz.c
src/gallium/drivers/r300/r300_state.c
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
src/gallium/winsys/radeon/drm/radeon_drm_winsys.h
src/gallium/winsys/radeon/drm/radeon_winsys.h