OSDN Git Service

mesa: Like EXT_texture_compression_dxt1, advertise ANGLE_texture_compression_dxt...
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 1 Dec 2012 20:10:08 +0000 (12:10 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 24 Jan 2013 04:38:04 +0000 (23:38 -0500)
commit53f8251107d8a23892f0248db5a12098dadea38f
tree723f835a57dac898691a19592e342c9bce483e9d
parentd45c6c817df5c00ec12d46bd07fc7735e2c2cd5a
mesa: Like EXT_texture_compression_dxt1, advertise ANGLE_texture_compression_dxt in all APIs

This is technically outside the ANGLE spec, but it seems unlikely to
cause any harm.

v2: Simplify the extension checks by assuming the ANGLE extension will
always be enabled by any driver that enables the EXT.  Suggested by
Eric Anholt.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Lee Salzman <lsalzman@gmail.com>
src/mesa/main/extensions.c
src/mesa/main/glformats.c
src/mesa/main/teximage.c