diff options
author | Dave Parks <davep@lindenlab.com> | 2012-06-13 18:05:56 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-06-13 18:05:56 -0500 |
commit | b93a23aa828a2ee6de206fe3c74d1b0f3e116db1 (patch) | |
tree | ffb3a93a482d9f7fc5b69c6f5a542f09ee09cee0 /indra/llrender/llimagegl.cpp | |
parent | 184d5ee79d4f4b56cd042ded16c6546fa46de611 (diff) |
MAINT-1147 Fix for frame stall on region crossing.
Diffstat (limited to 'indra/llrender/llimagegl.cpp')
-rw-r--r-- | indra/llrender/llimagegl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp index 793fd4be31..fb03b3f956 100644 --- a/indra/llrender/llimagegl.cpp +++ b/indra/llrender/llimagegl.cpp @@ -285,9 +285,11 @@ S32 LLImageGL::dataFormatComponents(S32 dataformat) //---------------------------------------------------------------------------- +static LLFastTimer::DeclareTimer FTM_IMAGE_UPDATE_STATS("Image Stats"); // static void LLImageGL::updateStats(F32 current_time) { + LLFastTimer t(FTM_IMAGE_UPDATE_STATS); sLastFrameTime = current_time; sBoundTextureMemoryInBytes = sCurBoundTextureMemory; sCurBoundTextureMemory = 0; |