mesa: Implement compressed 2D array textures.
authorPaul Berry <stereotype441@gmail.com>
Fri, 28 Dec 2012 19:26:06 +0000 (11:26 -0800)
committerPaul Berry <stereotype441@gmail.com>
Wed, 2 Jan 2013 18:28:39 +0000 (10:28 -0800)
commit7c0323296e445b4612516e2389e2b4c616faec27
treece4267c1b79e7f9dd8898e9ea5832a4950c52e9a
parent261ee4d907cc2e06a578e1597f6a55f1997ab52c
mesa: Implement compressed 2D array textures.

This patch adds functionality to Mesa to upload compressed
2-dimensional array textures, using the glCompressedTexImage3D and
glCompressedTexSubImage3D calls.

Fixes piglit tests "EXT_texture_array/compressed *" and "!OpenGL ES
3.0/ext_texture_array-compressed_gles3 *".  Also partially fixes GLES3
conformance test "CoverageES30.test".

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/main/teximage.c
src/mesa/main/texstore.c