Skip to content

Commit

Permalink
OpenGL: Add QOpenGLVertexArrayObject class
Browse files Browse the repository at this point in the history
This class makes it much simpler to manage OpenGL state relating to
vertex data (i.e. vertex buffer objects, vertex attribute divisors,
index buffer objects, vertex buffer formats).

Change-Id: I9fb932cc3f0691ec9ba065bf871e43cd2e369bad
Reviewed-by: James Turner <[email protected]>
Reviewed-by: Gunnar Sletta <[email protected]>
  • Loading branch information
seanharmer authored and The Qt Project committed Feb 28, 2013
1 parent 2c8c0cb commit 40192d6
Show file tree
Hide file tree
Showing 3 changed files with 586 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/gui/opengl/opengl.pri
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles2) {
opengl/qtriangulator_p.h \
opengl/qrbtree_p.h \
opengl/qopenglversionfunctions.h \
opengl/qopenglversionfunctionsfactory_p.h
opengl/qopenglversionfunctionsfactory_p.h \
opengl/qopenglvertexarrayobject.h

SOURCES += opengl/qopengl.cpp \
opengl/qopenglfunctions.cpp \
Expand All @@ -47,7 +48,8 @@ contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles2) {
opengl/qopengltextureglyphcache.cpp \
opengl/qtriangulator.cpp \
opengl/qopenglversionfunctions.cpp \
opengl/qopenglversionfunctionsfactory.cpp
opengl/qopenglversionfunctionsfactory.cpp \
opengl/qopenglvertexarrayobject.cpp


!contains(QT_CONFIG, opengles2) {
Expand Down
Loading

0 comments on commit 40192d6

Please sign in to comment.