diff options
author | Dave Parks <davep@lindenlab.com> | 2009-12-16 09:26:53 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2009-12-16 09:26:53 -0600 |
commit | c6aaf115ade4b335df9ca479992b08e028ffd910 (patch) | |
tree | 3a126f9f3af41fd21ee326669e60922c333f55ad /indra/newview/llviewerobjectlist.cpp | |
parent | b6af8aae5b0cccfb6653d84e2020557c2be945ce (diff) |
Quick 'n dirty prioritization scheme for mesh loading.
Sprinkling of fast timers in areas that are likely to stall.
Diffstat (limited to 'indra/newview/llviewerobjectlist.cpp')
-rw-r--r-- | indra/newview/llviewerobjectlist.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewerobjectlist.cpp b/indra/newview/llviewerobjectlist.cpp index 96828ee1b6..7a6f479685 100644 --- a/indra/newview/llviewerobjectlist.cpp +++ b/indra/newview/llviewerobjectlist.cpp @@ -866,8 +866,12 @@ void LLViewerObjectList::cleanupReferences(LLViewerObject *objectp) mNumDeadObjects++; } +static LLFastTimer::DeclareTimer FTM_REMOVE_DRAWABLE("Remove Drawable"); + void LLViewerObjectList::removeDrawable(LLDrawable* drawablep) { + LLFastTimer t(FTM_REMOVE_DRAWABLE); + if (!drawablep) { return; |