aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltextureview.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2010-02-09 21:11:42 -0600
committerJacek Antonelli2010-02-16 18:50:15 -0600
commite6247fbe78c4d3dacb74f3b2359aba2b6538133b (patch)
tree10c42d670a2c635b4339f7f68809c221756774f8 /linden/indra/newview/lltextureview.cpp
parentPorted some cURL and HTTP-related changes from Snowglobe. (diff)
downloadmeta-impy-e6247fbe78c4d3dacb74f3b2359aba2b6538133b.zip
meta-impy-e6247fbe78c4d3dacb74f3b2359aba2b6538133b.tar.gz
meta-impy-e6247fbe78c4d3dacb74f3b2359aba2b6538133b.tar.bz2
meta-impy-e6247fbe78c4d3dacb74f3b2359aba2b6538133b.tar.xz
Ported many texture engine changes from Snowglobe.
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/lltextureview.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/linden/indra/newview/lltextureview.cpp b/linden/indra/newview/lltextureview.cpp
index d356bf9..b6159da 100644
--- a/linden/indra/newview/lltextureview.cpp
+++ b/linden/indra/newview/lltextureview.cpp
@@ -43,16 +43,17 @@
43#include "llimageworker.h" 43#include "llimageworker.h"
44#include "llrender.h" 44#include "llrender.h"
45 45
46#include "llappviewer.h"
46#include "llhoverview.h" 47#include "llhoverview.h"
47#include "llselectmgr.h" 48#include "llselectmgr.h"
48#include "lltexlayer.h" 49#include "lltexlayer.h"
49#include "lltexturecache.h" 50#include "lltexturecache.h"
50#include "lltexturefetch.h" 51#include "lltexturefetch.h"
52#include "llviewercontrol.h"
51#include "llviewerobject.h" 53#include "llviewerobject.h"
52#include "llviewerimage.h" 54#include "llviewerimage.h"
53#include "llviewerimagelist.h" 55#include "llviewerimagelist.h"
54#include "llappviewer.h" 56#include "llvovolume.h"
55
56extern F32 texmem_lower_bound_scale; 57extern F32 texmem_lower_bound_scale;
57 58
58LLTextureView *gTextureView = NULL; 59LLTextureView *gTextureView = NULL;
@@ -466,9 +467,9 @@ void LLGLTexMemBar::draw()
466 LLAppViewer::getTextureFetch()->mPacketCount, LLAppViewer::getTextureFetch()->mBadPacketCount, 467 LLAppViewer::getTextureFetch()->mPacketCount, LLAppViewer::getTextureFetch()->mBadPacketCount,
467 LLAppViewer::getTextureCache()->getNumReads(), LLAppViewer::getTextureCache()->getNumWrites(), 468 LLAppViewer::getTextureCache()->getNumReads(), LLAppViewer::getTextureCache()->getNumWrites(),
468 LLLFSThread::sLocal->getPending(), 469 LLLFSThread::sLocal->getPending(),
469 LLImageWorker::sCount, LLImageWorker::getWorkerThread()->getNumDeletes(), 470 LLAppViewer::getImageDecodeThread()->getPending(),
470 LLImageRaw::sRawImageCount, LLViewerImage::sRawCount, LLViewerImage::sAuxCount, 471 LLImageRaw::sRawImageCount,
471 gImageList.mCallbackList.size()); 472 LLAppViewer::getTextureFetch()->getNumHTTPRequests());
472 473
473 LLFontGL::getFontMonospace()->renderUTF8(text, 0, 0, line_height*2, 474 LLFontGL::getFontMonospace()->renderUTF8(text, 0, 0, line_height*2,
474 text_color, LLFontGL::LEFT, LLFontGL::TOP); 475 text_color, LLFontGL::LEFT, LLFontGL::TOP);