radeon: Use MESA_FORMAT_SARGB8 for sRGB formats
authorHenri Verbeet <hverbeet@gmail.com>
Mon, 9 Aug 2010 19:06:02 +0000 (15:06 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Mon, 9 Aug 2010 19:06:02 +0000 (15:06 -0400)
commite165453f84517b08afc2e2bf684546e9e24f3f30
tree79bdf195c5a26a3f2138aa951c41fbd31aa5db29
parent08933b5a17f137fe93d48f05fcffcc9ac2627630
radeon: Use MESA_FORMAT_SARGB8 for sRGB formats

This can be supported on r600 without using the endian swapper, and is a
better fit for (typical) uploads using GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV
anyway.
src/mesa/drivers/dri/r300/r300_texstate.c
src/mesa/drivers/dri/r600/r600_blit.c
src/mesa/drivers/dri/r600/r600_tex.c
src/mesa/drivers/dri/r600/r600_texstate.c
src/mesa/drivers/dri/r600/r700_chip.c
src/mesa/drivers/dri/radeon/radeon_texture.c