aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltexturecache.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-10-31 18:57:44 -0500
committerJacek Antonelli2008-10-31 18:57:44 -0500
commit8a81ec3cc7f5998f7d75ef24f57bd9fc6eec1312 (patch)
tree606a35c18cf584a4a9e3182f69e929772a4d7bdf /linden/indra/newview/lltexturecache.h
parentDisable fmod by default. (diff)
parentMerge branch 'VWR-2003' into nicholaz-patches (diff)
downloadmeta-impy-8a81ec3cc7f5998f7d75ef24f57bd9fc6eec1312.zip
meta-impy-8a81ec3cc7f5998f7d75ef24f57bd9fc6eec1312.tar.gz
meta-impy-8a81ec3cc7f5998f7d75ef24f57bd9fc6eec1312.tar.bz2
meta-impy-8a81ec3cc7f5998f7d75ef24f57bd9fc6eec1312.tar.xz
Merge branch 'nicholaz-patches' into next
Diffstat (limited to 'linden/indra/newview/lltexturecache.h')
-rw-r--r--linden/indra/newview/lltexturecache.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/lltexturecache.h b/linden/indra/newview/lltexturecache.h
index 4bac15c..b5abb67 100644
--- a/linden/indra/newview/lltexturecache.h
+++ b/linden/indra/newview/lltexturecache.h
@@ -122,6 +122,7 @@ private:
122 void readHeaderCache(apr_pool_t* poolp = NULL); 122 void readHeaderCache(apr_pool_t* poolp = NULL);
123 void purgeAllTextures(bool purge_directories); 123 void purgeAllTextures(bool purge_directories);
124 void purgeTextures(bool validate); 124 void purgeTextures(bool validate);
125 void purgeTextureFilesTimeSliced(BOOL force_all = FALSE);
125 S32 getHeaderCacheEntry(const LLUUID& id, bool touch, S32* imagesize = NULL); 126 S32 getHeaderCacheEntry(const LLUUID& id, bool touch, S32* imagesize = NULL);
126 bool removeHeaderCacheEntry(const LLUUID& id); 127 bool removeHeaderCacheEntry(const LLUUID& id);
127 void lockHeaders() { mHeaderMutex.lock(); } 128 void lockHeaders() { mHeaderMutex.lock(); }
@@ -143,6 +144,10 @@ private:
143 144
144 typedef std::vector<std::pair<LLPointer<Responder>, bool> > responder_list_t; 145 typedef std::vector<std::pair<LLPointer<Responder>, bool> > responder_list_t;
145 responder_list_t mCompletedList; 146 responder_list_t mCompletedList;
147
148 typedef std::list<std::string> filename_list_t;
149 filename_list_t mFilesToDelete;
150 LLTimer mTimeLastFileDelete;
146 151
147 BOOL mReadOnly; 152 BOOL mReadOnly;
148 153