summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturecache.cpp
AgeCommit message (Collapse)Author
2018-06-26MAINT-8395 Better logingandreykproductengine
2018-06-14MAINT-8395 Rollback part of SL-711 to fix related crashesandreykproductengine
2018-01-30MAINT-8091 Removed deprecated and unused private memory poolingAndrey Kleshchev
2018-01-17Merged in lindenlab/viewer-releaseAndreyL ProductEngine
2017-12-20MAINT-8087: Use env vars from VMP for AppData\Roaming and Local.Nat Goodspeed
On Windows, when logged in with a non-ASCII username, every one of the three documented APIs -- SHGetSpecialFolderPath(), SHGetFolderPath() and SHGetKnownFolderPath() -- fails to retrieve any pathname at all. We cannot account for the fact that the oldest of these continues to work with the release viewer and within a Python script (though not, curiously, from a Python interactive session). With a non-ASCII username, they consistently fail when called from an Alex Ivy viewer build: "The filename, directory name, or volume label syntax is incorrect." Empirically, with a non-ASCII username, the preset APPDATA and LOCALAPPDATA environment variables are also useless, e.g. c:\Users\??????\AppData\Roaming where those are, yup, actual question marks. Empirically, the VMP is able to successfully call SHGetFolderPath() to retrieve both AppData\Roaming and AppData\Local. Therefore, we make the VMP set the APPDATA and LOCALAPPDATA environment variables to the UTF-8 encoded correct pathnames. Instead of calling SHGetSomethingFolderPath() at all, make LLDir_Win32 retrieve those environment variables. Make LLFile::mkdir() treat "directory already exists" as a success case. Every single call fell into one of two categories: either it didn't check success at all, or it tested specially to exempt errno == EEXIST. Migrate that test into mkdir(); eliminate it from call sites. Make LLDir::append() and add() convenience functions accept variadic arguments. Replace add(add()...) constructs, as well as clumsy concatenations of directory names and getDirDelimiter(), with simple variadic add() calls.
2017-12-05MAINT-2124 Texture allocation issuesandreykproductengine
2017-11-06MAINT-7978 - Fixed allocation crash in doRead(), workers should never crashandreykproductengine
2017-10-23Backed out changeset: bfa432c3c7d5 (SL-775)andreykproductengine
2017-10-23MAINT-7929 Viewer shouldn't attempt to access unreadable cache indefientelyandreykproductengine
2017-10-11MAINT-7895 Fix for setHeaderCacheEntry infinite loopandreykproductengine
2017-10-03build fixMnikolenko Productengine
2017-09-28SL-775 Texture cache purge improvementsandreykproductengine
2017-09-18MAINT-7779 Protections against wrong dataandreykproductengine
2017-06-06[SL-711] - Eliminate some overheads in texturecache.ruslantproductengine
- Eliminate memory overhead when need duplicated scaled image. - Small improvement in LLImageBase::getCodecFromExtension()
2017-08-29SL-776 Disk cache purge not purging headers if headers are corrupt or on ↵andreykproductengine
version mismatch
2017-08-21BUG-134134 Additional loggingandreykproductengine
2017-08-09SL-684 Improve cache version guardandreykproductengine
2016-10-19MAINT-6819 Fix for LLTextureCacheRemoteWorker::doWrite crashAndreyL ProductEngine
2016-09-28MAINT-6123 Fix for LLTextureCache::writeToFastCache crashAndreyL ProductEngine
2016-05-06merge 4.0.4-release and MAINT-5974Oz Linden
2016-02-05MAINT-6105 FIXED Lowering Cache Size and relogging results in many corrupted ↵andreykproductengine
textures
2015-11-10remove execute permission from many files that should not have itOz Linden
2015-06-08MAINT-5230 FIXED Viewer gets stuck clearing texture cacheandreykproductengine
2013-08-19MergeXiaohong Bao
2013-08-09second phase summer cleaningRichard Linden
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-06-20merge with releaseRichard Linden
2013-06-20Automated merge with http://bitbucket.org/lindenlab/viewer-releaseDave Parks
2013-06-14MAINT-2791: Yet another crash in LLTextureCache::writeToFastCache(). Reviewedsimon
by Kelly
2013-06-10MAINT-2414 fix for texture cache crasherGraham Madarasz
2013-06-05merge with viewer-releaseRichard Linden
2013-05-28for SH-4004: interesting: need debug option to clear viewer cache while ↵Xiaohong Bao
still logged in
2013-05-09Merge viewer-betasimon
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-01-03fix for MAINT-2147: crash in LLTextureCache::writeToFastCache on OSXXiaohong Bao
2012-12-03more for MAINT-1955: Viewer crashes while login after clearing cacheXiaohong Bao
2012-12-03more for MAINT-1955: Viewer crashes while login after clearing cacheXiaohong Bao
2012-11-26fix for MAINT-1955: Viewer crashes while login after clearing cacheXiaohong Bao
2012-11-26fix for MAINT-1955: Viewer crashes while login after clearing cacheXiaohong Bao
2012-06-12for SH-3073: implement a fast cache system for texture fetchingXiaohong Bao
2011-12-05SH-2652 WIP -- Add timers to relevant areas, pause render pipeline while ↵Dave Parks
occlusion queries from previous frame are still pending and perform texture decode work.
2011-10-31mergeBrad Payne (Vir Linden)
2011-10-26fix for SH-2573: Flaw in Purging Texture Cache when it Exceeds LimitXiaohong Bao
2011-10-14b782a75c99e6 backout cleanupDave Parks
2011-10-14Merge backout of b782a75c99e6Dave Parks
2011-10-14Backed out changeset b782a75c99e6Dave Parks
2011-07-15Merge from viewer-developmentXiaohong Bao
2011-06-01Merge. Pulling fix for VWR-25862 into bigger cache tree.Logan Dethrow
2011-05-25VWR-25862 Potential fix for caches not clearing when they are supposed to.Logan Dethrow
* Removed leading delimiter from filename mask in all calls to LLDir::deleteFilesInDir() that are related to the viewer asset caches (texture, VFS, and VO).
2011-05-10add debug mode to track the memory allocation/deallocation.Xiaohong Bao
2011-05-06Increased the viewer cache size limit to 10GB. Increased the default to 1GB.Logan Dethrow
* Changed the hard coded cache limit in llappviewer.cpp to 10GB as well as the slider maximum in the preferences menu. * The VFS cache is capped at 1GB due to file system limitations. The former 80/20 split between texture/vfs is maintained up to 5GB. Above this limit the texture cache is given all the additional cache space up to 10GB. * Fixed a log message in lltexturecache.cpp that was not showing the correct texture size. ER-883 * Fixed a bug in llfloaterpreference.cpp that caused new cache value to be written to the old cache setting. This resulted in the the cache not being cleared when the location was set back to the default. ER-882 * Disabled the "The cache will be cleared on reboot" message that is triggered by the reset button in the cache preferences in the case where the cache is already located in the default location. The cache is only cleared when its location is changed. This is intended to address resident confusion regarding the purpose of the reset button, as demonstrated in VWR-19562.