summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerstats.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-05-31 11:57:15 -0500
committerDave Parks <davep@lindenlab.com>2022-05-31 11:57:15 -0500
commitdfa71e2bb59e81de93f626fada6975ae46b01bb6 (patch)
tree83a85201d748aae1b03836e103d57a5801590866 /indra/newview/llviewerstats.cpp
parent8c5697a2d6b3976979d22da5c16569ef1c5aa9fd (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.cpp15
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.
*