summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobjectlist.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2009-12-16 09:26:53 -0600
committerDave Parks <davep@lindenlab.com>2009-12-16 09:26:53 -0600
commitc6aaf115ade4b335df9ca479992b08e028ffd910 (patch)
tree3a126f9f3af41fd21ee326669e60922c333f55ad /indra/newview/llviewerobjectlist.cpp
parentb6af8aae5b0cccfb6653d84e2020557c2be945ce (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.cpp4
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;