swrast: do fast_copy_pixels() with Map/UnmapRenderbuffer()
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)
commit89fb81d521bdcd341a88d2bf54ae3d79ad232cca
treee0e8f9a9b41c27d1e0845cf7acc18ff3d59de19b
parent95970677b92bef1b24cc83ecfe1759b35426d3d2
swrast: do fast_copy_pixels() with Map/UnmapRenderbuffer()

v2: use memmove() instead of memcpy() in case of overlap

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