Skip to content
Snippets Groups Projects
Commit cad73f24 authored by David Parks's avatar David Parks
Browse files

SL-16972 Add free vram to texture console to rule out low vram for blurry textures.

parent fe2f9aed
No related branches found
No related tags found
No related merge requests found
...@@ -549,9 +549,10 @@ void LLGLTexMemBar::draw() ...@@ -549,9 +549,10 @@ void LLGLTexMemBar::draw()
U32 texFetchLatMed = U32(recording.getMean(LLTextureFetch::sTexFetchLatency).value() * 1000.0f); U32 texFetchLatMed = U32(recording.getMean(LLTextureFetch::sTexFetchLatency).value() * 1000.0f);
U32 texFetchLatMax = U32(recording.getMax(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(), total_mem.value(),
max_total_mem.value(), max_total_mem.value(),
LLImageGLThread::getFreeVRAMMegabytes(),
bound_mem.value(), bound_mem.value(),
max_bound_mem.value(), max_bound_mem.value(),
LLRenderTarget::sBytesAllocated/(1024*1024), LLRenderTarget::sBytesAllocated/(1024*1024),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment