diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-11-07 15:36:45 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-11-07 15:36:45 -0700 |
commit | 5fc3066bdb3921203dfdb085b2690fd2d79cf350 (patch) | |
tree | cc050acfcf9c48a49065a926bd7dc15cb5faea7c /indra/newview/llviewertexture.cpp | |
parent | 2b8dc4d80c973770256d0d765f5d8f4f51cf9d57 (diff) |
add some debug code for possible gray baked avatar textures
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
-rwxr-xr-x | indra/newview/llviewertexture.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index f22074a8d6..fdbf2b015d 100755 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -2345,6 +2345,15 @@ bool LLViewerFetchedTexture::doLoadedCallbacks() } if(sCurrentTime - mLastCallBackActiveTime > MAX_INACTIVE_TIME && !mIsFetching) { + if (mFTType == FTT_SERVER_BAKE) + { + //output some debug info + llinfos << "baked texture: " << mID << "clears all call backs due to inactivity." << llendl; + llinfos << mUrl << llendl; + llinfos << "current discard: " << getDiscardLevel() << " current discard for fetch: " << getCurrentDiscardLevelForFetching() << + " Desired discard: " << getDesiredDiscardLevel() << "decode Pri: " << getDecodePriority() << llendl; + } + clearCallbackEntryList() ; //remove all callbacks. return false ; } @@ -2353,6 +2362,13 @@ bool LLViewerFetchedTexture::doLoadedCallbacks() if (isMissingAsset()) { + if (mFTType == FTT_SERVER_BAKE) + { + //output some debug info + llinfos << "baked texture: " << mID << "is missing." << llendl; + llinfos << mUrl << llendl; + } + for(callback_list_t::iterator iter = mLoadedCallbackList.begin(); iter != mLoadedCallbackList.end(); ) { |