Aligned strided vertexbuffers.

This commit is contained in:
Shyotl
2011-07-20 23:54:16 -05:00
parent dfa850931a
commit cc19a4c2da
2 changed files with 48 additions and 28 deletions

View File

@@ -228,6 +228,8 @@ protected:
S32 mRequestedNumVerts; // Number of vertices requested
S32 mRequestedNumIndices; // Number of indices requested
ptrdiff_t mAlignedOffset;
ptrdiff_t mAlignedIndexOffset;
S32 mStride;
U32 mTypeMask;
S32 mUsage; // GL usage
@@ -272,7 +274,7 @@ public:
static S32 sTypeOffsets[TYPE_MAX];
static U32 sGLMode[LLRender::NUM_MODES];
static U32 sGLRenderBuffer;
static U32 sGLRenderIndices;
static U32 sGLRenderIndices;
static BOOL sVBOActive;
static BOOL sIBOActive;
static U32 sLastMask;