diff options
author | Dave Parks <davep@lindenlab.com> | 2011-10-11 00:26:03 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-10-11 00:26:03 -0500 |
commit | 3211c6e3089b03d73f2e260be4037304660f834d (patch) | |
tree | 5ed0bb2ae02b44109a31786b0e9c6c3ac84d3490 /indra/newview/llwlparamset.cpp | |
parent | cffcb414f57bcdc7de862d791f8f9c1fea91a7fb (diff) |
SH-2240 WIP on removing lots of string comparisons that were added to deal with exploding amounts of non-built-in GL state
Diffstat (limited to 'indra/newview/llwlparamset.cpp')
-rw-r--r-- | indra/newview/llwlparamset.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llwlparamset.cpp b/indra/newview/llwlparamset.cpp index 22fba90f65..4a1db3d26c 100644 --- a/indra/newview/llwlparamset.cpp +++ b/indra/newview/llwlparamset.cpp @@ -69,12 +69,16 @@ LLWLParamSet::LLWLParamSet(void) : */ } +static LLFastTimer::DeclareTimer FTM_WL_PARAM_UPDATE("WL Param Update"); + void LLWLParamSet::update(LLGLSLShader * shader) const { for(LLSD::map_const_iterator i = mParamValues.beginMap(); i != mParamValues.endMap(); ++i) { + LLFastTimer t(FTM_WL_PARAM_UPDATE); + const std::string& param = i->first; if( param == "star_brightness" || param == "preset_num" || param == "sun_angle" || |