i915g: implement hw clear
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Mar 2011 22:04:10 +0000 (23:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Mar 2011 22:04:10 +0000 (23:04 +0100)
commit6358e6371b31671acbfa7c00336673f62ee928c5
tree17f26ceeed2d57e82e9bcedd7d1d3292061d48bd
parent8c420db1c4763d8d4d71ce8d835fc09a7a269d4c
i915g: implement hw clear

Benefits:
- spares us a relocation.
- needed for zone rendering (if that ever happens).
- just awesome.

v2: Rename the debug option. Completely disabling the blitter is
required for Y tiling to work, so this option will cover other
code paths in the future.

v3: Implement suggestions by Jakob Bornecrantz.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
src/gallium/drivers/i915/i915_batch.h
src/gallium/drivers/i915/i915_batchbuffer.h
src/gallium/drivers/i915/i915_clear.c
src/gallium/drivers/i915/i915_context.c
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i915/i915_debug.c
src/gallium/drivers/i915/i915_screen.h
src/gallium/drivers/i915/i915_state_static.c