1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0026081: Visualization, TKOpenGl - rebuild vertex attributes in order to not render large index arrays in OpenGL ES

This commit is contained in:
dbp
2015-04-16 16:03:55 +03:00
committed by bugmaster
parent 6ca1fa7070
commit e99a2f7cae
4 changed files with 63 additions and 6 deletions

View File

@@ -122,6 +122,9 @@ private:
//! @param theType type of primitive array.
void setDrawMode (const Graphic3d_TypeOfPrimitiveArray theType);
//! Rebuilds the array of vertex attributes so that it can be drawn without indices.
Standard_Boolean processIndices (const Handle(OpenGl_Context)& theContext) const;
protected:
mutable Handle(OpenGl_VertexBuffer) myVboIndices;