swrast: Move the check for fast_copy_pixels() ability to caller.
authorEric Anholt <eric@anholt.net>
Wed, 4 Jan 2012 23:59:39 +0000 (15:59 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 6 Jan 2012 17:48:47 +0000 (09:48 -0800)
commitcedbfc0050af7391b6c8ed54abaa60898208f99d
tree425cb15afd257a3eda155f7a35b0ad39bc130456
parent60982976ee14c271353b9545ca5ac085b97ab9b0
swrast: Move the check for fast_copy_pixels() ability to caller.

I'm going to reuse this function from glBlitFramebuffer() handling,
which wants to do the same thing.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/swrast/s_copypix.c