diff options
| author | Xiaohong Bao <bao@lindenlab.com> | 2012-04-26 15:53:35 -0600 |
|---|---|---|
| committer | Xiaohong Bao <bao@lindenlab.com> | 2012-04-26 15:53:35 -0600 |
| commit | e344b2afa21adf072837f1bcf4b38dd511b76f0e (patch) | |
| tree | 62575d52d289fa24e111e33e16a584e3675bb8a0 /indra/newview/llviewertexture.cpp | |
| parent | 5ab4dadc703a0f7419929c7da57c471f2ece8a6c (diff) | |
For SH-3121: collect time of reloading all textures from cache and through HTTP when all objects loading are done.
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
| -rw-r--r-- | indra/newview/llviewertexture.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index 49faae3fdb..a7e2ed85fa 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -2144,6 +2144,14 @@ bool LLViewerFetchedTexture::updateFetch() return mIsFetching ? true : false; } +void LLViewerFetchedTexture::clearFetchedResults() +{ + llassert_always(!mNeedsCreateTexture && !mIsFetching); + + cleanup(); + destroyGLTexture(); +} + void LLViewerFetchedTexture::forceToDeleteRequest()
{
if (mHasFetcher)
|
