ATI compressed texture formats & auto-compression

Ian Romanick idr at us.ibm.com
Thu Apr 3 18:44:21 PDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hamish wrote:

| In my OpenGL SUperBible, there's a section on compressed textures.
According
| to the code in there you can get the hardware to compress a texture when
| loading it... But I can't seem to get a sane response from OpenGL when
I'm
| doing it...

[snip]

| glxinfo says
|
| GL_ARB_texture_compression is supported... So why don't I get a value
besides
| 0 when getting GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB? Or am I looking
in the
| wrong place and the open driver doesn't actually support any compressed
| textures?

This is the typical OpenGL way of doing things.  The existence of the
means that the functionality is there to ask which, *if any*, compressed
formats the hardware / driver supports.  Right now, none of the drivers
except Intel support any compressed formats out of the box.  Intel
happens to support 3dfx's texture compression (FXT1).

Perhaps someone may have some insight as to why FXT1 never caught on.

As Keith mentioned, S3TC isn't supported out-of-the-box due to S3's
patents.  Google may help you find a work-around.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFH9Yf1X1gOwKyEAw8RAlGuAJ44iJvF1y5fdhOU7dTrK5wVjp9H7QCcC1xo
L5wTnc3L3THuOKGwQPPjZhw=
=Vm4h
-----END PGP SIGNATURE-----



More information about the xorg mailing list