swrast: rewrite glDrawPixels(GL_DEPTH) with zoom
authorBrian Paul <brianp@vmware.com>
Sat, 24 Dec 2011 15:54:27 +0000 (08:54 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 24 Dec 2011 16:25:41 +0000 (09:25 -0700)
commitc60ac7b17993d28af65b04f9bbbf3ee74c35358c
tree925680a4b9cb1b67e90143804c5c08425a9eadd7
parentbf0c0ccbc9424fc73cb17ffb9c9b5feda7d33474
swrast: rewrite glDrawPixels(GL_DEPTH) with zoom

This gets rid of another renderbuffer->PutRow() call and _DepthBuffer
usage.  We always work with 32-bit uint Z values now.

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