diff options
author | Howard Stearns <aech@lindenlab.com> | 2022-05-12 17:09:30 +0000 |
---|---|---|
committer | Howard Stearns <aech@lindenlab.com> | 2022-05-12 17:09:30 +0000 |
commit | 44f70be1e447664ec3ee050e85a8e14965fff4e7 (patch) | |
tree | c1a5c851a06dd77a27cbc135e4625701e743902e /indra/newview/llviewerwindow.cpp | |
parent | 4cfcbca748e825b4904e7f136fa625b1a0f79dfb (diff) | |
parent | 915de3eb556c22216fd3c76e2de4a2ab1953dbe0 (diff) |
Merged DRTVWR-544-maint into SL-12238
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 9334fa5c76..ccc7dfebd2 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -779,6 +779,12 @@ public: ypos += y_inc; addText(xpos, ypos, llformat("%.3f/%.3f MB Mesh Cache Read/Write ", LLMeshRepository::sCacheBytesRead/(1024.f*1024.f), LLMeshRepository::sCacheBytesWritten/(1024.f*1024.f))); + ypos += y_inc; + + addText(xpos, ypos, llformat("%.3f/%.3f MB Mesh Skins/Decompositions Memory", LLMeshRepository::sCacheBytesSkins / (1024.f*1024.f), LLMeshRepository::sCacheBytesDecomps / (1024.f*1024.f))); + ypos += y_inc; + + addText(xpos, ypos, llformat("%.3f MB Mesh Headers Memory", LLMeshRepository::sCacheBytesHeaders / (1024.f*1024.f))); ypos += y_inc; } @@ -1567,9 +1573,11 @@ void LLViewerWindow::handleFocusLost(LLWindow *window) showCursor(); getWindow()->setMouseClipping(FALSE); - // If losing focus while keys are down, reset them. + // If losing focus while keys are down, handle them as + // an 'up' to correctly release states, then reset states if (gKeyboard) { + gKeyboard->resetKeyDownAndHandle(); gKeyboard->resetKeys(); } |