summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_loopback.h
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2012-09-17 14:52:10 -0700
committerIan Romanick <[email protected]>2012-12-07 16:29:49 -0800
commit4e9d19717c77d24844ff4443efb4a8bdc1736534 (patch)
treeb7d00183617f2cf4a3e5e015f4f5c464c62be54a /src/mesa/main/api_loopback.h
parente06dcbfdc2c90b402cec257fd5e2fc843a7f708f (diff)
intel: Enable ETC2 support on intel hardware
This patch enables support for ETC2 compressed textures on all intel hardware. At present, ETC2 texture decoding is not available on intel hardware. So, compressed ETC2 texture data is decoded in software and stored in a suitable uncompressed MESA_FORMAT at the time of glCompressedTexImage2D. Currently, ETC2 formats are only exposed in OpenGL ES 3.0. V2: Use single etc_wraps variable for both etc1 and etc2. V3: Remove redundant code and use just one intel_miptree_map_etc() and intel_miptree_unmap_etc() function. Choose MESA_FORMAT_SIGNED_{R16, GR1616} for ETC2 signed-{r11, rg11} formats Signed-off-by: Anuj Phogat <[email protected]> Tested-by: Matt Turner <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/api_loopback.h')
0 files changed, 0 insertions, 0 deletions