Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 260 vs 264 for /trunk/Source Code/Hardware/Video/OpenGL/Buffers/VertexBuffer/Headers/glVertexArray.h

Diff revisions: vs.
  @@ -49,8 +49,8 @@
49 49
50 50 virtual bool SetActive();
51 51
52 - void Draw(const U8 LODindex = 0);
53 - void DrawRange();
52 + void Draw(bool skipBind = false, const U8 LODindex = 0);
53 + void DrawRange(bool skipBind = false);
54 54
55 55 ///Never call Refresh() just queue it and the data will update before drawing
56 56 inline bool queueRefresh() {_refreshQueued = true; return true;}
  @@ -70,11 +70,12 @@
70 70 protected:
71 71 GLenum _formatInternal;
72 72 GLenum _typeInternal;
73 + GLuint _IBid;
74 + GLuint _VBid;
75 + GLuint _DepthVBid;
73 76 GLuint _VAOid;
74 77 GLuint _DepthVAOid;
75 78 GLuint _usage;
76 - static GLuint _indexDelimiterCache; ///<Used to avoid calling glPrimitiveRestartIndex if the index value requested is the same as last time
77 - static bool _primitiveRestartEnabled; ///<Used to toggle primitive restart on or off and avoid useless state changes
78 79 bool _animationData; ///< Used to bind an extra set of vertex attributes for bone indices and bone weights
79 80 bool _refreshQueued; ///< A refresh call might be called before "Create()". This should help with that
80 81 vectorImpl<vec4<GLhalf> > _normalsSmall;