diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-04-11 15:25:35 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-04-11 15:25:35 -0600 |
commit | c05fa390dc57b072da4b69b4e08743fd62bf4ce5 (patch) | |
tree | ff92ba26590a7542950e8b024b240cfee5a2c64c /indra/newview/llvocache.h | |
parent | 1a820f8df90a21a8614b79f3dc973bb7dc903def (diff) |
add LLTrace::MemTrackable to LLVOCachePartition
Diffstat (limited to 'indra/newview/llvocache.h')
-rw-r--r-- | indra/newview/llvocache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llvocache.h b/indra/newview/llvocache.h index 5f2dd63051..4b775a4288 100644 --- a/indra/newview/llvocache.h +++ b/indra/newview/llvocache.h @@ -147,7 +147,7 @@ protected: BOOL mTouched; //if set, this entry is valid, otherwise it is invalid. }; -class LLVOCachePartition : public LLViewerOctreePartition +class LLVOCachePartition : public LLViewerOctreePartition, public LLTrace::MemTrackable<LLVOCachePartition> { public: LLVOCachePartition(LLViewerRegion* regionp); @@ -155,6 +155,8 @@ public: void addEntry(LLViewerOctreeEntry* entry); void removeEntry(LLViewerOctreeEntry* entry); /*virtual*/ S32 cull(LLCamera &camera); + + static LLTrace::MemStatHandle sMemStat; }; // |