st/mesa: remove most of the ReadPixels code
authorBrian Paul <brianp@vmware.com>
Mon, 14 Nov 2011 20:06:29 +0000 (13:06 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 15 Nov 2011 14:49:26 +0000 (07:49 -0700)
commit94780b5ee6dc118e22c29b5543c4db8e0ab1f393
tree703d18507f4275b122e8102c6111886e36b7df5e
parent3754ebb33dc6bfb3db59f23f0b3690134a71aa15
st/mesa: remove most of the ReadPixels code

We can use the core Mesa code for glReadPixels now.  We just have to
validate state and flush the bitmap cache before reading.
src/mesa/state_tracker/st_cb_readpixels.c
src/mesa/state_tracker/st_cb_readpixels.h