u_blitter: Do blits in linear color space.
authorHenri Verbeet <hverbeet@gmail.com>
Sat, 12 Mar 2011 15:33:50 +0000 (16:33 +0100)
committerHenri Verbeet <hverbeet@gmail.com>
Sat, 12 Mar 2011 15:43:58 +0000 (16:43 +0100)
commitab21147c899ba1506df38438b6750d3dc5eaabdf
tree537a4fa2e2f0bec5b064f8118cd4d2b20ac6a3fc
parent6da4866ffdb19315bbb48f6778d1a5297b842a77
u_blitter: Do blits in linear color space.

Blits between sRGB and linear formats should happen in linear color space.
This fixes piglit fbo/fbo-srgb-blit.
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_blitter.c
src/mesa/state_tracker/st_cb_texture.c