diff options
author | Dave Parks <davep@lindenlab.com> | 2022-05-31 11:57:15 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-05-31 11:57:15 -0500 |
commit | dfa71e2bb59e81de93f626fada6975ae46b01bb6 (patch) | |
tree | 83a85201d748aae1b03836e103d57a5801590866 /indra/newview/llviewerstats.cpp | |
parent | 8c5697a2d6b3976979d22da5c16569ef1c5aa9fd (diff) |
SL-17490 Only update a subset of textures each frame and remove dead debug code.
Diffstat (limited to 'indra/newview/llviewerstats.cpp')
-rw-r--r-- | indra/newview/llviewerstats.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/indra/newview/llviewerstats.cpp b/indra/newview/llviewerstats.cpp index 71526e5e8c..57d52ae9ee 100644 --- a/indra/newview/llviewerstats.cpp +++ b/indra/newview/llviewerstats.cpp @@ -316,8 +316,6 @@ U32Bytes gTotalTextureBytesPerBoostLevel[LLViewerTexture::MAX_GL_IMAGE_CATEGOR extern U32 gVisCompared; extern U32 gVisTested; -LLFrameTimer gTextureTimer; - void update_statistics() { gTotalWorldData += gVLManager.getTotalBytes(); @@ -413,19 +411,6 @@ void update_statistics() } } -void update_texture_time() -{ - if (gTextureList.isPrioRequestsFetched()) - { - gTextureTimer.pause(); - } - else - { - gTextureTimer.unpause(); - } - - record(LLStatViewer::TEXTURE_FETCH_TIME, gTextureTimer.getElapsedTimeF32()); -} /* * The sim-side LLSD is in newsim/llagentinfo.cpp:forwardViewerStats. * |