[Mesa-dev] [PATCH 2/6] Add the format enums for BPTC-compressed images
Alex Deucher
alexdeucher at gmail.com
Thu Jul 24 06:38:09 PDT 2014
On Wed, Jul 23, 2014 at 5:57 PM, Ian Romanick <idr at freedesktop.org> wrote:
> On 07/22/2014 12:09 PM, Neil Roberts wrote:
>> diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c
>> index 9dbfe9f..b708b49 100644
>> --- a/src/mesa/main/texcompress.c
>> +++ b/src/mesa/main/texcompress.c
>> @@ -235,6 +235,12 @@ _mesa_gl_compressed_format_base_format(GLenum format)
>> * GL_EXT_texture_compression_latc. At the very least, Catalyst 11.6 does not
>> * expose the 3dc formats through this mechanism.
>> *
>> + * The spec for GL_ARB_texture_compression_bptc doesn't mention whether it
>> + * should be included in GL_COMPRESSED_TEXTURE_FORMATS. However as it takes a
>> + * very long time to compress the textures in this format it's probably not
>> + * very useful as a general format where the GL will have to compress it on
>> + * the fly.
>> + *
>
> What do NVIDIA and AMD do? We should mimic that.
I asked our closed source GL team and they said they do include it in
GL_COMPRESSED_TEXTURE_FORMATS.
Alex
>
>> * \param ctx the GL context
>> * \param formats the resulting format list (may be NULL).
>> *
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list