Ilia Mirkin <imir...@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 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev