OSDN Git Service

swrast: Drop the remaining GetRow-based glReadPixels() fast-path.
authorEric Anholt <eric@anholt.net>
Thu, 13 Oct 2011 17:25:15 +0000 (10:25 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 4 Nov 2011 06:29:53 +0000 (23:29 -0700)
commit5b1ad7482413e7f6b51671c0a42a52e5fa377886
tree1b8ee3ccac0cd5b7ce97925b82c8da541c1dae63
parent91b2ce85d1e1914b7199b45f4f21a3e36e2e21e1
swrast: Drop the remaining GetRow-based glReadPixels() fast-path.

In all of piglit, only two tests hit it (reading to RGBA float, where
GetRow would drop floats into place from R, RG, or RGB).  Mostly this
is because _ColorReadClamp has been causing transferOps to always be
set, skipping any fast-paths anyway.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/swrast/s_readpix.c