[Mesa-dev] [PATCH 03/13] travis: add the possibility of using the txc-dxtn library
Nicolai Hähnle
nhaehnle at gmail.com
Tue Apr 11 10:02:27 UTC 2017
On 07.04.2017 21:39, Jan Vesely wrote:
> On Fri, 2017-04-07 at 20:05 +0100, Emil Velikov wrote:
>> From: Andres Gomez <agomez at igalia.com>
>>
>> The txc-dxtn library implements the patented S3 Texture Compression
>> algorithm.
>>
>> By default it won't be used but we add the possibility of setting the
>> USE_TXC_DXTN variable to yes in the travis web UI so it will be
>> installed and used for the scons tests.
>
> OT: doesn't the patent expire this year (oct) anyway?
Yes, it does. Still makes sense for the patch in this form right now. In
a few months this can be enabled by default or, even better, the source
to libtxc-dxtn can just be pulled into Mesa entirely. I don't think
there are other users of that library.
Cheers,
Nicolai
>
> Jan
>
>>
>> Cc: Eric Anholt <eric at anholt.net>
>> Cc: Rhys Kidd <rhyskidd at gmail.com>
>> Signed-off-by: Andres Gomez <agomez at igalia.com>
>> [Emil Velikov: keep the LIB prefix, drop the LD_LIBRARY_PATH]
>> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
>> ---
>> .travis.yml | 15 +++++++++++++++
>> 1 file changed, 15 insertions(+)
>>
>> diff --git a/.travis.yml b/.travis.yml
>> index 03f4a1b833f..b426c0b6184 100644
>> --- a/.travis.yml
>> +++ b/.travis.yml
>> @@ -25,6 +25,7 @@ env:
>> global:
>> - XORG_RELEASES=http://xorg.freedesktop.org/releases/individual
>> - XCB_RELEASES=http://xcb.freedesktop.org/dist
>> + - TXC_DXTN_RELEASES=https://people.freedesktop.org/~cbrill/libtxc_dxtn
>> - XORGMACROS_VERSION=util-macros-1.19.0
>> - GLPROTO_VERSION=glproto-1.4.17
>> - DRI2PROTO_VERSION=dri2proto-2.8
>> @@ -35,6 +36,7 @@ env:
>> - XCBPROTO_VERSION=xcb-proto-1.11
>> - LIBXCB_VERSION=libxcb-1.11
>> - LIBXSHMFENCE_VERSION=libxshmfence-1.2
>> + - LIBTXC_DXTN_VERSION=libtxc_dxtn-1.0.1
>> - LLVM_VERSION=3.9
>> - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
>> - PKG_CONFIG_PATH=$HOME/prefix/lib/pkgconfig
>> @@ -101,6 +103,19 @@ install:
>> - tar -jxvf $LIBXSHMFENCE_VERSION.tar.bz2
>> - (cd $LIBXSHMFENCE_VERSION && ./configure --prefix=$HOME/prefix && make install)
>>
>> + # libtxc-dxtn uses the patented S3 Texture Compression
>> + # algorithm. Therefore, we don't want to use this library but it is
>> + # still possible through setting the USE_TXC_DXTN variable to yes in
>> + # the travis web UI.
>> + #
>> + # According to Wikipedia, the patent expires on October 2, 2017:
>> + # https://en.wikipedia.org/wiki/S3_Texture_Compression#Patent
>> + - if test "x$USE_TXC_DXTN" = xyes; then
>> + wget $TXC_DXTN_RELEASES/$LIBTXC_DXTN_VERSION.tar.bz2;
>> + tar -jxvf $LIBTXC_DXTN_VERSION.tar.bz2;
>> + (cd $LIBTXC_DXTN_VERSION && ./configure --prefix=$HOME/prefix && make install);
>> + fi
>> +
>> script:
>> - if test "x$BUILD" = xmake; then
>> ./autogen.sh --enable-debug
>>
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
--
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.
More information about the mesa-dev
mailing list