Maintain cliprect (scissor) info in sp_state_derived.c.
authorBrian <brian.paul@tungstengraphics.com>
Fri, 27 Jul 2007 16:21:34 +0000 (10:21 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 27 Jul 2007 16:21:34 +0000 (10:21 -0600)
commita0c1d591ab8d19377c7ab784a0472fac00f9fcd3
tree1c0b32d0f8b456f9a6abdece3c65dbc6822668a0
parent78ea9cee0d7fd424238ec25f9939d2c955694c0a
Maintain cliprect (scissor) info in sp_state_derived.c.

The cliprect depends on the scissor rect (if enabled), otherwise the drawing
surface bounds.
src/mesa/pipe/softpipe/sp_context.h
src/mesa/pipe/softpipe/sp_prim_setup.c
src/mesa/pipe/softpipe/sp_state_derived.c