summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-10-07 13:38:03 -0700
committerRichard Linden <none@none>2013-10-07 13:38:03 -0700
commit17df8988fec3f2ba991ca9e34ff8148253a2fc04 (patch)
treed06a8919e3ad5a56aa37c9706f05e33bf5b188f0 /indra/llrender
parentbee38adb347213bc1824dad8a762dc399c3065ec (diff)
renamed TraceType to StatType
added more MemTrackable types optimized memory usage of LLTrace some more
Diffstat (limited to 'indra/llrender')
-rwxr-xr-xindra/llrender/lltexture.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/llrender/lltexture.h b/indra/llrender/lltexture.h
index ff711b8004..9fca8b8cd3 100755
--- a/indra/llrender/lltexture.h
+++ b/indra/llrender/lltexture.h
@@ -33,6 +33,8 @@
#define LL_TEXTURE_H
#include "llrefcount.h"
+#include "lltrace.h"
+
class LLImageGL ;
class LLTexUnit ;
class LLFontGL ;
@@ -40,7 +42,7 @@ class LLFontGL ;
//
//this is an abstract class as the parent for the class LLGLTexture
//
-class LLTexture : public virtual LLRefCount
+class LLTexture : public virtual LLRefCount, public LLTrace::MemTrackable<LLTexture>
{
friend class LLTexUnit ;
friend class LLFontGL ;
@@ -49,7 +51,9 @@ protected:
virtual ~LLTexture();
public:
- LLTexture(){}
+ LLTexture()
+ : LLTrace::MemTrackable<LLTexture>("LLTexture")
+ {}
//
//interfaces to access LLGLTexture