summaryrefslogtreecommitdiff
path: root/indra/llimage/llimage.h
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-12-18 00:58:26 -0800
committerRichard Linden <none@none>2012-12-18 00:58:26 -0800
commit1f56e57008f5a50c9e75fc0b4512c483ac359a52 (patch)
tree6631b12beaf3cf64e093730e9c93df34b883472c /indra/llimage/llimage.h
parent8c2e3bea71ea15b805a9e2a288744f10d195d803 (diff)
SH-3468 WIP add memory tracking base class
created memory tracking trace type instrumented a few classes with memory tracking
Diffstat (limited to 'indra/llimage/llimage.h')
-rw-r--r--indra/llimage/llimage.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llimage/llimage.h b/indra/llimage/llimage.h
index b87ce6f060..d945d54404 100644
--- a/indra/llimage/llimage.h
+++ b/indra/llimage/llimage.h
@@ -30,6 +30,7 @@
#include "lluuid.h"
#include "llstring.h"
#include "llthread.h"
+#include "lltrace.h"
const S32 MIN_IMAGE_MIP = 2; // 4x4, only used for expand/contract power of 2
const S32 MAX_IMAGE_MIP = 11; // 2048x2048
@@ -110,7 +111,9 @@ protected:
//============================================================================
// Image base class
-class LLImageBase : public LLThreadSafeRefCount
+class LLImageBase
+: public LLThreadSafeRefCount,
+ public LLTrace::MemTrackable<LLImageBase>
{
protected:
virtual ~LLImageBase();