diff options
author | Dave Parks <davep@lindenlab.com> | 2022-03-07 15:48:09 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-03-07 15:48:09 -0600 |
commit | cad73f240323a38558e7bc2edf307ef565dda1aa (patch) | |
tree | ce7cf984d03222054fac57f8111d307712baae6a /indra/newview | |
parent | fe2f9aed2543615cb6d314ab01b76f0eba9d6ccc (diff) |
SL-16972 Add free vram to texture console to rule out low vram for blurry textures.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/lltextureview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lltextureview.cpp b/indra/newview/lltextureview.cpp index 7a0f69fed5..0438ee2aae 100644 --- a/indra/newview/lltextureview.cpp +++ b/indra/newview/lltextureview.cpp @@ -549,9 +549,10 @@ void LLGLTexMemBar::draw() U32 texFetchLatMed = U32(recording.getMean(LLTextureFetch::sTexFetchLatency).value() * 1000.0f); U32 texFetchLatMax = U32(recording.getMax(LLTextureFetch::sTexFetchLatency).value() * 1000.0f); - text = llformat("GL Tot: %d/%d MB Bound: %4d/%4d MB FBO: %d MB Raw Tot: %d MB Bias: %.2f Cache: %.1f/%.1f MB", + text = llformat("GL Tot: %d/%d MB GL Free: %d MB Bound: %4d/%4d MB FBO: %d MB Raw Tot: %d MB Bias: %.2f Cache: %.1f/%.1f MB", total_mem.value(), max_total_mem.value(), + LLImageGLThread::getFreeVRAMMegabytes(), bound_mem.value(), max_bound_mem.value(), LLRenderTarget::sBytesAllocated/(1024*1024), |