intel: Enable blit glCopyTexSubImage/glBlitFramebuffer with sRGB. 85/6785/1
authorEric Anholt <eric@anholt.net>
Tue, 28 May 2013 17:59:53 +0000 (10:59 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 29 May 2013 00:53:44 +0000 (17:53 -0700)
commit4dea6cf21557bcd3bbab3402e19e19f665d7e177
tree1cb5aafe79341cc7f15c9280c4518161282b22dc
parentf43f07d5889645240de6e4740412f325d7a4eb38
intel: Enable blit glCopyTexSubImage/glBlitFramebuffer with sRGB.

Since the introduction of default-to-SARGB8 window system framebuffers,
non-blorp hardware lost blit acceleration for these two paths between the
window system and ARGB8888 textures.  Since we shouldn't be doing any
conversion anyway, just compatibility-check the linear variants of the
formats.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=61954
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
src/mesa/drivers/dri/intel/intel_tex_copy.c