diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-02-23 19:48:08 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-02-23 19:48:08 -0700 |
commit | 844bf22d250833b000d306b9179580d6e032a632 (patch) | |
tree | 692b2aa2ab58d3a6d56c22c3b5c8b3068a18f70f /indra/llrender/llvertexbuffer.h | |
parent | 108980f68c184341e83454bbd5e72a5803b33092 (diff) |
apply private pool to VBO
Diffstat (limited to 'indra/llrender/llvertexbuffer.h')
-rw-r--r-- | indra/llrender/llvertexbuffer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llrender/llvertexbuffer.h b/indra/llrender/llvertexbuffer.h index c51ce7ac4e..a4b0d5558e 100644 --- a/indra/llrender/llvertexbuffer.h +++ b/indra/llrender/llvertexbuffer.h @@ -69,7 +69,7 @@ protected: //============================================================================ // base class - +class LLPrivateMemoryPool ; class LLVertexBuffer : public LLRefCount { public: @@ -238,6 +238,9 @@ protected: std::vector<DirtyRegion> mDirtyRegions; //vector of dirty regions to rebuild +private: + static LLPrivateMemoryPool* sPrivatePoolp ; + public: static S32 sCount; static S32 sGLCount; |