diff options
author | Oz Linden <oz@lindenlab.com> | 2011-07-25 09:49:58 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-07-25 09:49:58 -0400 |
commit | b8be8820ea52a77df6362179b1dda3fc4a305913 (patch) | |
tree | 061d59de4c1ccca88aa82ec7381790581f90bee9 /indra/llrender/llvertexbuffer.h | |
parent | e0728065251fbd5f45218eb94c056a92162eb54d (diff) | |
parent | a5769e81263d6d004033b914c1cbf1a8296923d9 (diff) |
close head created by 54e071a92450
Diffstat (limited to 'indra/llrender/llvertexbuffer.h')
-rw-r--r-- | indra/llrender/llvertexbuffer.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/llrender/llvertexbuffer.h b/indra/llrender/llvertexbuffer.h index aa5df305a6..cc5d11e1c2 100644 --- a/indra/llrender/llvertexbuffer.h +++ b/indra/llrender/llvertexbuffer.h @@ -70,6 +70,12 @@ protected: } }; +class LLGLFence +{ +public: + virtual void placeFence() = 0; + virtual void wait() = 0; +}; //============================================================================ // base class @@ -270,6 +276,12 @@ protected: std::vector<MappedRegion> mMappedVertexRegions; std::vector<MappedRegion> mMappedIndexRegions; + mutable LLGLFence* mFence; + + void placeFence() const; + void waitFence() const; + + public: static S32 sCount; static S32 sGLCount; |