Commit Graph

42 Commits (90aa693f2a9ece9f1c624dba245f202e126bca5b)

Author SHA1 Message Date
Rye a80f2ba9a3 Update KDU to 8.4.1 and fix kdu tests, also fix llimage_libtest utility 2025-02-11 05:04:04 -05:00
Andrey Lihatskiy 1b68f71348 #824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed 2024-04-29 07:56:09 +03:00
Dave Parks 8d20480c5f SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
Nicky Dasmijn c16a364377 There was an idiom to test with LL_DARWIN if the compiler used is clang. This is not correct, as clang is available on all 3 platforms. The correct way to check for this is via __clang__ (https://clang.llvm.org/docs/LanguageExtensions.html#builtin-macros) 2020-07-22 06:48:15 +03:00
Graham Linden graham@lindenlab.com f86073d609 Fix broken integration and unit tests.
Update KDU stubs in integration test.

Work around MAINT-8675 stale cert in llsechandler_basic for now.

Update stubs for LLTrans::getString in handful of integration tests.
2018-05-21 17:54:54 +01:00
Nat Goodspeed b9cc216b9c DRTVWR-418: Have to #include "llkdumem.h" even when not LL_DARWIN. 2016-11-23 12:07:31 -05:00
Nat Goodspeed 0413e40d82 DRTVWR-418: Update KDU and llimagej2ckdu* with certain clang fixes. 2016-11-03 20:48:41 -04:00
Nat Goodspeed 6cc4a8dcd2 Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2016-11-03 09:31:15 -04:00
Nat Goodspeed acdb050ce5 MAINT-6584: Convert LLImage class hierarchy to standard 'bool'
instead of legacy BOOL.
2016-07-22 11:35:23 -04:00
callum_linden 9c4ed8d113 Automated merge with tip of viewer-release to pick up 4.0.5 2016-05-19 11:00:03 -07:00
Nat Goodspeed a0052fac05 DRTVWR-418: Fix indra/llkdu wrapper for changes in KDU 7.8 API.
KDU 7.8 introduces a number of changes to its API, most notably by moving
public symbols into a variety of kdu_something namespaces. While this is
laudable in a general sense, it does require quite a bit of diagnostic
building and patching to update legacy code.

Since llimagej2ckdu_test.cpp lamentably stubs out pretty much the entire KDU
API, we must also fix those stubs for signature changes even to functions we
don't otherwise reference.

NOTE: This commit still leaves four symbols undefined. Below I have taken the
liberty of juxtaposing the error line with the output from dumpbin /exports
build-vc120/packages/lib/release/kdu.lib. I see no differences.

unresolved symbol (?kdu_convert_ycc_to_rgb_rev16@kdu_core@@3P6AXPAF00H@ZA)   "void (__cdecl* kdu_core::kdu_convert_ycc_to_rgb_rev16)(short *,short *,short *,int)"
                   ?kdu_convert_ycc_to_rgb_rev16@kdu_core@@3P6AXPAF00H@ZA    (void (__cdecl* kdu_core::kdu_convert_ycc_to_rgb_rev16)(short *,short *,short *,int))
unresolved symbol (?kdu_convert_ycc_to_rgb_irrev16@kdu_core@@3P6AXPAF00H@ZA) "void (__cdecl* kdu_core::kdu_convert_ycc_to_rgb_irrev16)(short *,short *,short *,int)"
                   ?kdu_convert_ycc_to_rgb_irrev16@kdu_core@@3P6AXPAF00H@ZA  (void (__cdecl* kdu_core::kdu_convert_ycc_to_rgb_irrev16)(short *,short *,short *,int))
unresolved symbol (?kdu_convert_ycc_to_rgb_rev32@kdu_core@@3P6AXPAH00H@ZA)   "void (__cdecl* kdu_core::kdu_convert_ycc_to_rgb_rev32)(int *,int *,int *,int)"
                   ?kdu_convert_ycc_to_rgb_rev32@kdu_core@@3P6AXPAH00H@ZA    (void (__cdecl* kdu_core::kdu_convert_ycc_to_rgb_rev32)(int *,int *,int *,int))
unresolved symbol (?kdu_convert_ycc_to_rgb_irrev32@kdu_core@@3P6AXPAM00H@ZA) "void (__cdecl* kdu_core::kdu_convert_ycc_to_rgb_irrev32)(float *,float *,float *,int)"
                   ?kdu_convert_ycc_to_rgb_irrev32@kdu_core@@3P6AXPAM00H@ZA  (void (__cdecl* kdu_core::kdu_convert_ycc_to_rgb_irrev32)(float *,float *,float *,int))
24>C:\Users\Nat\linden\viewer64\build-vc120\newview\RelWithDebInfo\secondlife-bin.exe : fatal error LNK1120: 4 unresolved externals
2016-04-25 22:56:58 -04:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Nat Goodspeed 4a67d99e86 Linux llimagej2ckdu_test.cpp no longer needs obsolete stubs.
Use the same signatures as for the other platforms.
2015-01-16 22:02:09 +00:00
Nat Goodspeed 6793fa569b Fix another empty #elif to plain #else. 2014-12-16 13:55:15 -05:00
callum_linden b6c6feda4c Update to build on Xcode 6.0 (fix unit tests): fix function stubbing in KDU 2014-10-22 09:25:19 -07:00
callum_linden d7990bc9b2 Update to build on Xcode 6.0 (fix unit tests): turn off warnings for multiple unused private members 2014-10-21 17:50:31 -07:00
Richard Linden 1cd092f06d BUILDFIX: another unit test link seam with out of date code 2013-10-01 19:22:01 -07:00
Richard Linden e4cacda5a0 BUILDFIX: unit tests still using old sMemStat declarations 2013-09-05 16:24:57 -07:00
Richard Linden 8208a40412 BUILDFIX: reverted changes that attempted to automate mem track
stat definition as they don't work on gcc/clang
2013-07-01 18:50:51 -07:00
Richard Linden 04bdc8ba83 SH-4294 FIX Interesting: Statistics Texture cache hit rate is always 0%
also, removed LLTrace::init and cleanup
removed derived class implementation of memory stat for LLMemTrackable
is automatic now
2013-07-01 17:04:01 -07:00
Richard Linden 0a96b47663 merge with viewer-release 2013-06-05 19:05:43 -07:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Richard Linden 68f9f656cd merge with viewer-release 2013-03-22 00:44:59 -07:00
Richard Linden 1f507c3cfc SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
copied over scene load frame differencing changes from viewer-interesting
made periodicrecording flexible enough to allow for indefinite number of periods
added scene loading stats floater
fixed collapsing behavior of container views
2013-03-21 00:37:20 -07:00
Richard Linden 6841351502 SH-3468 WIP add memory tracking base class
fix for unit test failures...cleanup apr without destroying
pools, allowing LLProxy to clean itself up as a singleton (and
avoiding spurious dependencies associated with manually destorying
singletons that rely on apr pools)
2013-01-06 21:37:31 -08:00
Richard Linden 371b66a6ef Automated merge with http://bitbucket.org/lindenlab/viewer-development 2012-09-06 11:47:48 -07:00
simon@Simon-PC.lindenlab.com 38acb45af8 Merge in latest viewer-development 2012-09-05 17:17:54 -07:00
Kelly Washington bfd1c0370f MAINT-570 Remove unused memory tracking system LLMemType
follow up to fix test compiles.
2012-07-20 13:28:04 -07:00
Brad Payne (Vir Linden) 74d4f8af01 v-r to drano merge conflicts wip 2012-06-26 16:43:58 -04:00
Merov Linden 1bfdfcb7b9 Merge pull from vir/drano 2012-06-08 18:58:35 -07:00
Merov Linden bb7b5b27ce SH-3060 : Fix kdu unit test I broke while changing mRate init policy 2012-04-06 16:17:38 -07:00
Merov Linden 782981866a SH-3060 : New byte range implementation. Intermediate (not working) state. 2012-04-04 18:58:34 -07:00
Merov Linden 5c86d19373 SH-3050 : Parse an input codestream without decompressing it to find discard levels boundaries (test only). 2012-03-25 11:52:10 -07:00
Merov Linden bab6875f92 SH-2998 : Move Mac and Windows to use KDU 7.0.0 2012-02-27 17:43:48 -08:00
Merov Linden 7122308534 SH-1998 : Compatible API changes KDU v6.4.1 / v7.0.0 2012-02-27 15:24:39 -08:00
Merov Linden c6c1419faa EXP-664 : Make encoding parameters more resilient to bad entries, add levels as encoding parameters, update test applet to support this 2011-05-04 22:43:51 -07:00
jenn 0d6ec39f44 Cmake updates to get llkdu building on linux. Need to rebuild kdu tarball next. 2011-01-19 10:03:51 -08:00
Merov Linden bf1d42ff96 STORM-744 : Make getMetaData pass when all is stubbed 2010-12-28 20:00:06 -08:00
Merov Linden 5ed4046df5 STORM-744 : Throw exception consistently so llkdu fails consistently 2010-12-28 18:32:07 -08:00
Merov Linden d83314ad3f STORM-744 : Fix release building issue 2010-12-28 15:58:37 -08:00
Merov Linden 0c5bd3675b STORM-744 : Took code review into account, moving stuff back in protected or even private, fix things to work in debug mode, some clean up in j2coj also 2010-12-24 11:36:15 -08:00
Merov Linden fa70acc5aa STORM-744 : Add llkdu unit tests, turn on and fix llworldmap unit tests in newview 2010-12-17 22:52:51 -08:00