bgfx/3rdparty/libsquish
2015-12-24 00:00:17 -08:00
..
alpha.cpp Added libsquish. 2015-12-14 17:35:24 -08:00
alpha.h Added libsquish. 2015-12-14 17:35:24 -08:00
clusterfit.cpp Added libsquish. 2015-12-14 17:35:24 -08:00
clusterfit.h Added libsquish. 2015-12-14 17:35:24 -08:00
colourblock.cpp Added libsquish. 2015-12-14 17:35:24 -08:00
colourblock.h Added libsquish. 2015-12-14 17:35:24 -08:00
colourfit.cpp Added libsquish. 2015-12-14 17:35:24 -08:00
colourfit.h Added libsquish. 2015-12-14 17:35:24 -08:00
colourset.cpp Added libsquish. 2015-12-14 17:35:24 -08:00
colourset.h Added libsquish. 2015-12-14 17:35:24 -08:00
config.h Added libsquish. 2015-12-14 17:35:24 -08:00
LICENSE Added libsquish. 2015-12-14 17:35:24 -08:00
maths.cpp Added libsquish. 2015-12-14 17:35:24 -08:00
maths.h Added libsquish. 2015-12-14 17:35:24 -08:00
rangefit.cpp Added libsquish. 2015-12-14 17:35:24 -08:00
rangefit.h Added libsquish. 2015-12-14 17:35:24 -08:00
README Added libsquish. 2015-12-14 17:35:24 -08:00
simd.h Added libsquish. 2015-12-14 17:35:24 -08:00
simd_float.h Added libsquish. 2015-12-14 17:35:24 -08:00
singlecolourfit.cpp Added libsquish. 2015-12-14 17:35:24 -08:00
singlecolourfit.h Added libsquish. 2015-12-14 17:35:24 -08:00
singlecolourlookup.inl Added libsquish. 2015-12-14 17:35:24 -08:00
squish.cpp texturec: Fixed ETC1 encoder. 2015-12-23 22:17:51 -08:00
squish.h texturec: Fixed libsquish flags. 2015-12-24 00:00:17 -08:00

LICENSE
-------

The squish library is distributed under the terms and conditions of the MIT
license. This license is specified at the top of each source file and must be
preserved in its entirety.

BUILDING AND INSTALLING THE LIBRARY
-----------------------------------

If you are using Visual Studio 2003 or above under Windows then load the Visual
Studio 2003 project in the vs7 folder. By default, the library is built using
SSE2 optimisations. To change this either change or remove the SQUISH_USE_SSE=2
from the preprocessor symbols.

If you are using a Mac then load the Xcode 2.2 project in the distribution. By
default, the library is built using Altivec optimisations. To change this
either change or remove SQUISH_USE_ALTIVEC=1 from the preprocessor symbols. I
guess I'll have to think about changing this for the new Intel Macs that are
rolling out...

If you are using unix then first edit the config file in the base directory of
the distribution, enabling Altivec or SSE with the USE_ALTIVEC or USE_SSE
variables, and editing the optimisation flags passed to the C++ compiler if
necessary. Then make can be used to build the library, and make install (from
the superuser account) can be used to install (into /usr/local by default).

REPORTING BUGS OR FEATURE REQUESTS
----------------------------------

Feedback can be sent to Simon Brown (the developer) at si@sjbrown.co.uk

New releases are announced on the squish library homepage at
http://sjbrown.co.uk/?code=squish