swrast: rewrite stencil test code
authorBrian Paul <brianp@vmware.com>
Sat, 24 Dec 2011 15:54:26 +0000 (08:54 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 24 Dec 2011 15:54:26 +0000 (08:54 -0700)
commitd00d39a016893979d9b4ca61f6eaa570ccafb0b5
tree302896d9b2c4b645936ccd3df729808d57f0ba29
parent8b913bda3ad20ec2c8353859d75a3d938801d86f
swrast: rewrite stencil test code

Stop using the deprecated renderbuffer Get/Put Row/Values functions.
Consolidate code paths, etc.  The file is nearly half the size it used
to be!

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/swrast/s_stencil.c