st/mesa: fix Y inversion and optimize st_BlitFramebuffer()
authorBrian Paul <brianp@vmware.com>
Wed, 5 Aug 2009 19:26:19 +0000 (13:26 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 5 Aug 2009 19:26:19 +0000 (13:26 -0600)
commitf792137593b16b850a8a95dbb4859d49effb9f7c
treef09241780dfb0e011c633e20395d6fc8f7e0a418
parent2cd33afa0081661b68dd25289f8d904125a9923a
st/mesa: fix Y inversion and optimize st_BlitFramebuffer()

Need to check for Y inversion separately for src/dest buffers.

If both the src and dest regions are upside down, make them right-side
up for a better chance at a fast path.

progs/tests/copypixrate -blit is much faster now.
src/mesa/state_tracker/st_cb_blit.c