summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-03-07 17:16:29 -0600
committerDave Parks <davep@lindenlab.com>2022-03-07 17:16:29 -0600
commit2b2a5da0990def249dc028e0bb842843e51feed1 (patch)
tree5ed7a87aeed833a47ef117f0783e9b0a9e8a4ddd
parentcad73f240323a38558e7bc2edf307ef565dda1aa (diff)
SL-16972 Fix for blurry textures when "running out" of system memory.
-rw-r--r--indra/newview/app_settings/settings.xml2
-rw-r--r--indra/newview/lltextureview.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 2212f7fbdf..ebf9bfcfe8 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -6487,7 +6487,7 @@
<key>Type</key>
<string>F32</string>
<key>Value</key>
- <real>1.6</real>
+ <real>4.0</real>
</map>
<key>MaxPersistentNotifications</key>
<map>
diff --git a/indra/newview/lltextureview.cpp b/indra/newview/lltextureview.cpp
index 0438ee2aae..b74577315e 100644
--- a/indra/newview/lltextureview.cpp
+++ b/indra/newview/lltextureview.cpp
@@ -549,10 +549,11 @@ 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 GL Free: %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 Sys 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(),
+ LLMemory::getAvailableMemKB()/1024,
bound_mem.value(),
max_bound_mem.value(),
LLRenderTarget::sBytesAllocated/(1024*1024),