OSDN Git Service

r300g: support sRGB colorbuffers
authorMarek Olšák <maraeo@gmail.com>
Sun, 23 Jan 2011 11:53:17 +0000 (12:53 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sun, 23 Jan 2011 12:32:56 +0000 (13:32 +0100)
commit91eba2567eab9409d94efc3c1f07a4a3731d0047
tree558c82169e170f89b50cad76f2b6d601f785e8e6
parentffcdd49c69811b9f768c0b32acef6527d5626a6e
r300g: support sRGB colorbuffers

We are not required to do the linear->sRGB conversion if ARB_framebuffer_sRGB
is unsupported. However I think the conversion should work in hw except
for blending, which matches the D3D9 behavior.
src/gallium/drivers/r300/r300_blit.c
src/gallium/drivers/r300/r300_texture.c