util: do some more util_blit_pixels cases without temporaries
authorKeith Whitwell <keithw@vmware.com>
Wed, 7 Oct 2009 16:50:03 +0000 (17:50 +0100)
committerKeith Whitwell <keithw@vmware.com>
Wed, 7 Oct 2009 17:15:21 +0000 (18:15 +0100)
commit3f5a316f36e2d376104640033c8bcefef3810ef4
treea9cee272b1251f25634c970d707501ce8502b127
parentc0de2ed5055b951ff523c3b25eecfc82d1f307ef
util: do some more util_blit_pixels cases without temporaries

When the source surface is pointing at a 2d texture with only one
mipmap level, use that directly rather than creating a temporary.
Probably want to cover more cases, but this is a start.
src/gallium/auxiliary/util/u_blit.c