diff options
| author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-03-06 16:53:31 -0500 | 
|---|---|---|
| committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-03-06 16:53:31 -0500 | 
| commit | 7bc112ac9f5bf15b35c494a44e8c85767b1994a6 (patch) | |
| tree | 532a93d6b91562ede3a7a02b539c9a5e7bfc7bd3 /indra/newview | |
| parent | 80e64f26a13a8cbfe32d94b33fff57ddc7f21731 (diff) | |
texture view console tweaks
Diffstat (limited to 'indra/newview')
| -rwxr-xr-x | indra/newview/lltextureview.cpp | 13 | 
1 files changed, 8 insertions, 5 deletions
diff --git a/indra/newview/lltextureview.cpp b/indra/newview/lltextureview.cpp index d3fcecd9bc..68dd8cb23b 100755 --- a/indra/newview/lltextureview.cpp +++ b/indra/newview/lltextureview.cpp @@ -525,16 +525,20 @@ void LLGLTexMemBar::draw()  	LLFontGL::getFontMonospace()->renderUTF8(text, 0, 0, v_offset + line_height*6,  											 text_color, LLFontGL::LEFT, LLFontGL::TOP); -	text = llformat("GL Tot: %d/%d MB Bound: %d/%d MB FBO: %d MB Raw Tot: %d MB Bias: %.2f Cache: %.1f/%.1f MB Net Tot Tex: %.1f MB Tot Obj: %.1f MB Tot Htp: %d", +	text = llformat("GL Tot: %d/%d MB Bound: %d/%d MB FBO: %d MB Raw Tot: %d MB Bias: %.2f Cache: %.1f/%.1f MB",  					total_mem,  					max_total_mem,  					bound_mem,  					max_bound_mem,  					LLRenderTarget::sBytesAllocated/(1024*1024),  					LLImageRaw::sGlobalRawMemory >> 20,	discard_bias, -					cache_usage, cache_max_usage, total_texture_downloaded, total_object_downloaded, total_http_requests); -	//, cache_entries, cache_max_entries +					cache_usage, cache_max_usage); +	LLFontGL::getFontMonospace()->renderUTF8(text, 0, 0, v_offset + line_height*4, +											 text_color, LLFontGL::LEFT, LLFontGL::TOP); +	text = llformat("Net Tot Tex: %.1f MB Tot Obj: %.1f MB Tot Htp: %d", +					total_texture_downloaded, total_object_downloaded, total_http_requests); +	//, cache_entries, cache_max_entries  	LLFontGL::getFontMonospace()->renderUTF8(text, 0, 0, v_offset + line_height*3,  											 text_color, LLFontGL::LEFT, LLFontGL::TOP); @@ -607,8 +611,7 @@ BOOL LLGLTexMemBar::handleMouseDown(S32 x, S32 y, MASK mask)  LLRect LLGLTexMemBar::getRequiredRect()  {  	LLRect rect; -	rect.mTop = LLFontGL::getFontMonospace()->getLineHeight() * 6; -	rect.mTop = 0; +	rect.mTop = 50; //LLFontGL::getFontMonospace()->getLineHeight() * 6;  	return rect;  }  | 
