[Mesa-dev] [PATCH V3 13/13] intel: Enable ETC2 support on intel hardware

Eric Anholt eric at anholt.net
Wed Nov 14 00:48:40 PST 2012


Anuj Phogat <anuj.phogat at gmail.com> writes:

> 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.
> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>

Given that we support x/y offsets anyway, the asserts for map->x/y == 0
and the justification for it could be dropped.  But either way.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121114/9817d88e/attachment.pgp>


More information about the mesa-dev mailing list