intel: Add HiZ operations to intel_context::vtbl for all drivers
authorChad Versace <chad@chad-versace.us>
Tue, 20 Sep 2011 20:43:17 +0000 (13:43 -0700)
committerChad Versace <chad@chad-versace.us>
Tue, 18 Oct 2011 18:42:54 +0000 (11:42 -0700)
commit7b0f748efa5af84668cc3609a0070163bfa22607
treee6ec66bf1d1992271e1c060b77f7187340042791
parentb393fa91676aba0883d8f5260bd2910777aceb11
intel: Add HiZ operations to intel_context::vtbl for all drivers

Add the following to the vtbl:
    hiz_resolve_depthbuffer
    hiz_resolve_hizbuffer

For all drivers for which HiZ is not enabled, the methods are set to be
no-ops. If HiZ is enabled, the methods are currently to set to empty
stubs.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Chad Versace <chad@chad-versace.us>
src/mesa/drivers/dri/i915/i830_vtbl.c
src/mesa/drivers/dri/i915/i915_vtbl.c
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_vtbl.c
src/mesa/drivers/dri/i965/gen6_hiz.c [new file with mode: 0644]
src/mesa/drivers/dri/i965/gen6_hiz.h [new file with mode: 0644]
src/mesa/drivers/dri/intel/intel_context.h