summaryrefslogtreecommitdiff
path: root/indra/newview/llvoclouds.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-02-03 12:33:32 -0600
committerDave Parks <davep@lindenlab.com>2010-02-03 12:33:32 -0600
commit8e67ecf3dcd5f168806389a1048b2632582feedb (patch)
treef63793ae6b972f6205b07769dd7abc9c91690d71 /indra/newview/llvoclouds.cpp
parent5d7c376332b090801b503d8dc154bb67771230d8 (diff)
Optimization pass.
-- Further instrumentation of idle update -- Removed mActiveQ from LLPipeline, instead making calm objects static during LLVOVolume::idleUpdate -- Further instrumentation of flexible object update -- Converted LLDynamicArray and LLMap members of LLViewerObjectList to stl counterparts -- Increased number of update bins in LLViewerObjectList from 16 to 128 (objects will be processed every 128 frames instead of every 16, or ~ 90% fewer objects processed per frame) -- Removed unused "renderObjectsForSelect" code. -- Reenabled LOD updates for objects further than 24m from camera
Diffstat (limited to 'indra/newview/llvoclouds.cpp')
-rw-r--r--indra/newview/llvoclouds.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llvoclouds.cpp b/indra/newview/llvoclouds.cpp
index 177cb16c50..5153cef709 100644
--- a/indra/newview/llvoclouds.cpp
+++ b/indra/newview/llvoclouds.cpp
@@ -77,9 +77,11 @@ BOOL LLVOClouds::isActive() const
return TRUE;
}
-
BOOL LLVOClouds::idleUpdate(LLAgent &agent, LLWorld &world, const F64 &time)
{
+ static LLFastTimer::DeclareTimer ftm("Idle Clouds");
+ LLFastTimer t(ftm);
+
if (!(gPipeline.hasRenderType(LLPipeline::RENDER_TYPE_CLOUDS)))
{
return TRUE;