i965: Don't _swrast_BlitFramebuffer when doing CopyTexSubImage.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 12 May 2014 00:20:08 +0000 (17:20 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 13 May 2014 22:32:16 +0000 (15:32 -0700)
commitbd44ac8b5ca08016bb064b37edaec95eccfdbcd5
tree1785e919a7287514ff443b8cbef375edc634b2eb
parentc51c19289106a2ac2a962ce342dd97f1564807a6
i965: Don't _swrast_BlitFramebuffer when doing CopyTexSubImage.

The point of copytexsubimage_using_blit_framebuffer is to use a hardware
accelerated BlitFramebuffer path.  If that fails, we shouldn't do a
swrast blit---we should try our CTSI fallback code.

This is especially important for i965 and GLES, where we don't even
create a swrast context.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77705
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Cc: "10.2" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/common/meta_blit.c