diff options
author | simon <simon@lindenlab.com> | 2023-05-09 17:16:26 +0100 |
---|---|---|
committer | simon <simon@lindenlab.com> | 2023-05-09 17:16:26 +0100 |
commit | 90631fccef6ab1596655b18fb7dbdc87a4cb80ac (patch) | |
tree | 09bc86b85d32dbe02c6004f05739c3de945b7bab /indra/newview/lltexturefetch.cpp | |
parent | e8c1a18105bddc29951d4c4b1700dc0af37c83c2 (diff) |
SL-19676 - more update and scene loading stats. Added texture and mesh
count
Diffstat (limited to 'indra/newview/lltexturefetch.cpp')
-rw-r--r-- | indra/newview/lltexturefetch.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp index b0d6a5d466..eea56af0ae 100644 --- a/indra/newview/lltexturefetch.cpp +++ b/indra/newview/lltexturefetch.cpp @@ -2183,7 +2183,6 @@ S32 LLTextureFetchWorker::callbackHttpGet(LLCore::HttpResponse * response, LL_DEBUGS(LOG_TXT) << "HTTP RECEIVED: " << mID.asString() << " Bytes: " << data_size << LL_ENDL; if (data_size > 0) { - LLViewerStatsRecorder::instance().textureFetch(data_size); // *TODO: set the formatted image data here directly to avoid the copy // Hold on to body for later copy @@ -2249,6 +2248,13 @@ S32 LLTextureFetchWorker::callbackHttpGet(LLCore::HttpResponse * response, mHaveAllData = TRUE; } mRequestedSize = data_size; + + if (mHaveAllData) + { + LLViewerStatsRecorder::instance().textureFetch(); + } + + // *TODO: set the formatted image data here directly to avoid the copy } else { |