summaryrefslogtreecommitdiff
path: root/indra/llrender/llvertexbuffer.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-06-28 16:09:36 -0500
committerDave Parks <davep@lindenlab.com>2010-06-28 16:09:36 -0500
commitf740214f9dbeda307841ee28c43229efec76463c (patch)
tree85f41e009381f664e99568e48dbd2326dfc5a37b /indra/llrender/llvertexbuffer.h
parent589c6743c1a1467e5af3f1ef44af643d6b21e3a4 (diff)
Porting VBO changes from davep/viewer-release.
Better usage of LLVertexBuffer::sEnableVBOs. Added RenderUseStreamVBO debug setting for controlling usage of VBOs for particles/avatars/etc.
Diffstat (limited to 'indra/llrender/llvertexbuffer.h')
-rw-r--r--indra/llrender/llvertexbuffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llvertexbuffer.h b/indra/llrender/llvertexbuffer.h
index b785a22976..ef0bdb21b4 100644
--- a/indra/llrender/llvertexbuffer.h
+++ b/indra/llrender/llvertexbuffer.h
@@ -84,6 +84,8 @@ public:
static LLVBOPool sStreamIBOPool;
static LLVBOPool sDynamicIBOPool;
+ static BOOL sUseStreamDraw;
+
static void initClass(bool use_vbo);
static void cleanupClass();
static void setupClientArrays(U32 data_mask);