summaryrefslogtreecommitdiff
path: root/indra/llimage
AgeCommit message (Collapse)Author
2016-08-17Automated merge with ssh://bitbucket.org/lindenlab/viewer-releaseNat Goodspeed
2016-08-17MAINT-5011: Use LLTHROW() instead of plain BOOST_THROW_EXCEPTION().Nat Goodspeed
A level of preprocessor indirection lets us later change the implementation if desired.
2016-08-09MAINT-6618 More checksAndreyL ProductEngine
2016-08-09MAINT-6618 Fixed the crash in LLImageRaw::scale() + some additional checksAndreyL ProductEngine
2016-08-05Buildfix: brought back LINDEN_J2C_COMMENT_PREFIXAndreyL ProductEngine
2016-07-27MAINT-4327/MAINT-6584 Supress the crash on memory allocation error when ↵AndreyL ProductEngine
decoding J2C images
2016-07-22MAINT-6584: Convert LLImage class hierarchy to standard 'bool'Nat Goodspeed
instead of legacy BOOL.
2016-07-21MAINT-6584: Streamline static LLImageJ2C implementation API.Nat Goodspeed
Specifically, remove unused function pointer types CreateLLImageJ2CFunction, DestroyLLImageJ2CFunction and EngineInfoLLImageJ2CFunction. Also eliminate static fallbackDestroyLLImageJ2CImpl() and fallbackEngineInfoLLImageJ2CImpl(), leaving only static fallbackCreateLLImageJ2CImpl(). We do need a factory function to instantiate the appropriate LLImageJ2CImpl subclass, so leave the fallbackCreateLLImageJ2CImpl() link seam in place. However, given that every known LLImageJ2CImpl subclass is cheap to instantiate, make getEngineInfo() a pure virtual method on that subclass: the static LLImageJ2C::getEngineInfo() method can temporarily construct an instance to query. While we're at it, make getEngineInfo() return std::string like LLImageJ2C::getEngineInfo(). It's ridiculous that fallbackEngineInfoLLImageJ2CImpl() implementations constructed a static std::string and returned its c_str(), only to have LLImageJ2C::getEngineInfo() construct ANOTHER std::string from the returned const char*. fallbackDestroyLLImageJ2CImpl() never did anything useful: it merely deleted the passed LLImageJ2CImpl subclass pointer as the specific subclass type. But since LLImageJ2CImpl's destructor is virtual, LLImageJ2C's destructor could simply delete the stored LLImageJ2CImpl*. In fact, make mImpl a boost::scoped_ptr<LLImageJ2CImpl> so we don't even have to delete it manually.
2016-07-19MAINT-5011: Introduce LLException base class for viewer exceptions.Nat Goodspeed
This also introduces LLContinueError for exceptions which should interrupt some part of viewer processing (e.g. the current coroutine) but should attempt to let the viewer session proceed. Derive all existing viewer exception classes from LLException rather than from std::runtime_error or std::logic_error. Use BOOST_THROW_EXCEPTION() rather than plain 'throw' to enrich the thrown exception with source file, line number and containing function.
2016-07-14MAINT-5011: Per NickyD, put PngError in anonymous namespace.Nat Goodspeed
2016-07-13MAINT-5011: Wrap thrown png_const_charp in new PngError classNat Goodspeed
derived from std::runtime_error.
2016-04-22x64: Do not use a union of LLColor4U. Especially having the two pointer in ↵Nicky
there will blow up the struct to at least 8 byte, which will break VBO packing as this class needs to be 4 byte in size. (transplanted from 847df86d6b5daa69dcfc428df18876a9c1e8bef6)
2015-11-10remove execute permission from many files that should not have itOz Linden
2015-08-04MAINT-5343 (Viewer sometimes crashes when updating a local tga texture when ↵ruslantproductengine
RLE or BMP compression is disabled - LLImageTGA::decodeTruecolorNonRle)
2015-05-05Hotfix for build on OSX with -Werror,-Wtautological-compareruslantproductengine
2015-04-28Merge viewer-release, become version 3.7.29Mnikolenko ProductEngine
2015-04-13merge changes for 3.7.27-releaseOz Linden
2015-04-10restore the ll[io]fstream because we need them as wrappers on Windows for ↵Oz Linden
wide char paths; on other platforms they are now just typedefs to the std classes
2015-04-07replace llifstream and llofstream with std::ifstream and std::ofstream ↵Oz Linden
respectively
2015-04-07convert llifstream and llofstream to std::ifstream and std::ofstream ↵Oz Linden
respectively
2015-02-24merge changes for 3.7.25-releaseOz Linden
2015-02-23MAINT-4329 FIXED LLImageRaw::scale() scales each image *twice* for no ↵ruslantproductengine
apparent reason Linux & OS X compile error fix
2015-02-23Backed out changeset: 81b8de17a195ruslantproductengine
2015-02-23MAINT-4329 FIXED LLImageRaw::scale() scales each image *twice* for no ↵ruslantproductengine
apparent reason Linux & OS X compile error fix
2015-02-23Backed out changeset: 4c24cfce033aruslantproductengine
2015-02-23MAINT-4329 FIXED LLImageRaw::scale() scales each image *twice* for no ↵ruslantproductengine
apparent reason Linux & OS X compile error fix
2015-02-20MAINT-4329 FIXED LLImageRaw::scale() scales each image *twice* for no ↵ruslantproductengine
apparent reason
2015-02-14MAINT-4329 Backed out changeset: fd3a4d5c2cf5ruslantproductengine
2015-02-13MAINT-4329 Backed out changeset: fd3a4d5c2cf5ruslantproductengine
2015-02-19Merge downstream codesimon
2014-12-25MAINT-4755 Unit test buildfixandreykproductengine
2014-12-23MAINT-4755 FIXED Asset on Screen Causes Sudden FPS Dropandreykproductengine
2014-12-15merge changes for 3.7.22-releaseOz Linden
2014-12-10Rename llround(..) to ll_round(..) because of a collision with MS llround ↵callum_linden
(long long round) in VS2013
2014-12-08Merge downstream code and become version 3.7.23simon
2014-11-18Fix for gpu_bench crash without parallels knock-onGraham Linden
2014-09-25MAINT-4329 FIXED scales each image *twice* for no apparent reason : patchset #2ruslantproductengine
2014-09-15MAINT-3562 FIXED Viewer crashes when updating local textures using Substance ↵ruslantproductengine
Designer : add code for control input buffer size
2014-06-23merge changes for 3.7.10-releaseOz Linden
2014-05-07merge changes for 3.7.7-releaseOz Linden
2014-05-06Pull merge from lindenlab/viewer-release. Fixed some conflicts and compile ↵Merov Linden
errors
2014-03-19OPEN-199: replace the confusing STANDALONE switch with USESYSTEMLIBSOz Linden
2014-02-14ACME-1277 : Delete debug printouts spamming the logMerov Linden
2014-02-13ACME-1277 : Final set of filters, added a SnapshotFiltersEnabled debug settingMerov Linden
2014-02-07ACME-1315 : Fix anisotropy in filters applied to thumbnail. Deleted some ↵Merov Linden
unused code
2014-02-07ACME-1314 : Fix screen filter to make it less harsh on edges, modify Jules ↵Merov Linden
Verne and Newspaper filters as a result
2014-02-06Clear up commentsMerov Linden
2014-02-06ACME-1278 : Allow angle to be used in 2D screen filterMerov Linden
2014-02-06ACME-1301 : Add colortransform as a secondary filter commandMerov Linden
2014-02-06ACME-1301 : Add convolve as a secondary filter commandMerov Linden