[Mesa-dev] [PATCH 0/6] Add support for BPTC texture compression

Kristian Høgsberg krh at bitplanet.net
Thu Jul 24 10:20:32 PDT 2014


On Thu, Jul 24, 2014 at 8:55 AM, Neil Roberts <neil at linux.intel.com> wrote:
> Ilia Mirkin <imirkin at alum.mit.edu> writes:
>
>> Just a thought -- if online compression is highly unexpected, perhaps
>> it'd be reasonably to make a *horrid* compressor that doesn't rely on
>> any external libraries? I don't know how complex the BPTC format is,
>> but I suspect it may be possible to do a simple conversion that does
>> ~0 compression (and may actually make things larger).
>
> The compression ratio is fixed so the only variable is the quality of
> the image. I did make a naïve compressor for the RGBA UNORM format but I
> opted for the approach going via DXT3 instead because it looks nicer. I
> later modified that compressor to work for the half-float formats
> because we can't use DXT3 there. If we did want to avoid any
> dependencies and we don't care about the quality then that naïve
> compressor could still be an viable approach. Here's an example of the
> quality:
>
> http://busydoingnothing.co.uk/doge/

That's a great reference image.  Do you have a version of the image
compressed with nVidias online compressor?

Kristian


More information about the mesa-dev mailing list