gallium: Clean up driver clear() interface.
authorMichel Dänzer <daenzer@vmware.com>
Sat, 4 Apr 2009 17:01:51 +0000 (19:01 +0200)
committerMichel Dänzer <daenzer@vmware.com>
Sat, 4 Apr 2009 17:01:51 +0000 (19:01 +0200)
commiteb168e26aa63f11a47d70c4555cae30691a2cd57
tree8dcde608f562fc781027b4e0e21263f9f295e70e
parentba14b043bc1ab87e8e5e46e6e909a8def9535028
gallium: Clean up driver clear() interface.

Only allows clearing currently bound buffers, but colour and depth/stencil in
a single call.
26 files changed:
src/gallium/auxiliary/util/u_clear.h [new file with mode: 0644]
src/gallium/auxiliary/util/u_pack_color.h
src/gallium/drivers/i915simple/i915_clear.c
src/gallium/drivers/i915simple/i915_context.h
src/gallium/drivers/nv10/nv10_clear.c
src/gallium/drivers/nv10/nv10_context.h
src/gallium/drivers/nv20/nv20_clear.c
src/gallium/drivers/nv20/nv20_context.h
src/gallium/drivers/nv30/nv30_clear.c
src/gallium/drivers/nv30/nv30_context.h
src/gallium/drivers/nv40/nv40_clear.c
src/gallium/drivers/nv40/nv40_context.h
src/gallium/drivers/nv50/nv50_context.h
src/gallium/drivers/softpipe/sp_clear.c
src/gallium/drivers/softpipe/sp_clear.h
src/gallium/drivers/trace/tr_context.c
src/gallium/include/pipe/p_context.h
src/gallium/include/pipe/p_defines.h
src/gallium/state_trackers/g3dvl/vl_basic_csc.c
src/gallium/state_trackers/python/p_context.i
src/gallium/state_trackers/python/retrace/interpreter.py
src/gallium/state_trackers/python/samples/tri.py
src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py
src/gallium/state_trackers/python/tests/texture_render.py
src/gallium/state_trackers/python/tests/texture_sample.py
src/mesa/state_tracker/st_cb_clear.c