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

Neil Roberts neil at linux.intel.com
Thu Jul 24 08:55:19 PDT 2014


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/

- Neil


More information about the mesa-dev mailing list