pipe->clear() now takes a surface, rather than color/depth/stencil flags.
authorBrian <brian@i915.localnet.net>
Thu, 2 Aug 2007 22:08:18 +0000 (16:08 -0600)
committerBrian <brian@i915.localnet.net>
Thu, 2 Aug 2007 22:08:18 +0000 (16:08 -0600)
commit47fdaf0ed9ef2f89cdaa97d0d48b1f1194d710c6
tree3e4be03579b8bc860dc29e4c7b2ae93fded4e759
parent184b6a1f04e060e73858438561a0261d32eeb506
pipe->clear() now takes a surface, rather than color/depth/stencil flags.

pipe->clear() only used to clear whole buffers (no scissor) w/out masking.
Draw a colored quadrilateral in all other cases.
src/mesa/drivers/x11/xm_api.c
src/mesa/drivers/x11/xm_dd.c
src/mesa/drivers/x11/xmesaP.h
src/mesa/pipe/p_context.h
src/mesa/pipe/softpipe/sp_clear.c
src/mesa/pipe/softpipe/sp_clear.h
src/mesa/state_tracker/st_cb_clear.c