summaryrefslogtreecommitdiff
path: root/indra/llrender/llvertexbuffer.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-03-13 17:34:11 -0500
committerDave Parks <davep@lindenlab.com>2012-03-13 17:34:11 -0500
commit3953477ee5a9f60346a1d448b74bb5829bf18c56 (patch)
tree6480b0b7cafb2b8f99149594d490a0869dae1755 /indra/llrender/llvertexbuffer.h
parent8e60cdb3335ec198c71b29d37ab08c4aff9f8223 (diff)
MAINT-708 Reduce amount of video memory consumed by vertex buffer objects.
Diffstat (limited to 'indra/llrender/llvertexbuffer.h')
-rw-r--r--indra/llrender/llvertexbuffer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llrender/llvertexbuffer.h b/indra/llrender/llvertexbuffer.h
index d859199663..ceaa70c3b6 100644
--- a/indra/llrender/llvertexbuffer.h
+++ b/indra/llrender/llvertexbuffer.h
@@ -55,7 +55,8 @@ class LLVBOPool
{
public:
static U32 sBytesPooled;
-
+ static U32 sIndexBytesPooled;
+
LLVBOPool(U32 vboUsage, U32 vboType)
: mUsage(vboUsage)
, mType(vboType)
@@ -332,6 +333,9 @@ public:
static bool sIBOActive;
static U32 sLastMask;
static U32 sAllocatedBytes;
+ static U32 sAllocatedIndexBytes;
+ static U32 sVertexCount;
+ static U32 sIndexCount;
static U32 sBindCount;
static U32 sSetCount;
};