diff --git a/indra/newview/lltexturecache.cpp b/indra/newview/lltexturecache.cpp index cf1ee04644d90e45253ac514998fd068e5149375..f3bb5741914dc6260a3a520e64832d75c9c03291 100644 --- a/indra/newview/lltexturecache.cpp +++ b/indra/newview/lltexturecache.cpp @@ -53,7 +53,7 @@ const F32 TEXTURE_CACHE_PURGE_AMOUNT = .20f; // % amount to reduce the cache by const F32 TEXTURE_CACHE_LRU_SIZE = .10f; // % amount for LRU list (low overhead to regenerate) const S32 TEXTURE_FAST_CACHE_ENTRY_OVERHEAD = sizeof(S32) * 4; //w, h, c, level const S32 TEXTURE_FAST_CACHE_ENTRY_SIZE = 16 * 16 * 4 + TEXTURE_FAST_CACHE_ENTRY_OVERHEAD; -const F32 TEXTURE_LAZY_PURGE_TIME_LIMIT = .005f; // 5ms +const F32 TEXTURE_LAZY_PURGE_TIME_LIMIT = .004f; // 4ms. Would be better to autoadjust, but there is a major cache rework in progress. class LLTextureCacheWorker : public LLWorkerClass { diff --git a/indra/newview/lltexturecache.h b/indra/newview/lltexturecache.h index 9f68aa90393776f48463670c5faed486d641df7b..da59290930d34f3f7c2cae53eb9ddbd67c359ac7 100644 --- a/indra/newview/lltexturecache.h +++ b/indra/newview/lltexturecache.h @@ -226,7 +226,7 @@ class LLTextureCache : public LLWorkerThread typedef std::map<S32, Entry> idx_entry_map_t; idx_entry_map_t mUpdatedEntryMap; - typedef std::vector<std::pair<S32, Entry>> idx_entry_vector_t; + typedef std::vector<std::pair<S32, Entry> > idx_entry_vector_t; idx_entry_vector_t mPurgeEntryList; // Statics