rename QSGGeometry::stride() to sizeOfVertex for symetry with index
authorGunnar Sletta <gunnar.sletta@nokia.com>
Thu, 8 Sep 2011 13:15:57 +0000 (15:15 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Thu, 8 Sep 2011 13:45:49 +0000 (15:45 +0200)
commitc2b488fa7a9cc10bfa6342bd415aaf58fe857c9a
tree8e4d130542b1ada7ecba5b09b8c3fcf389d0a30c
parentafc0e48afc804b375cf994d6b2eea95ef80d4007
rename QSGGeometry::stride() to sizeOfVertex for symetry with index

Also support GL_UNSIGNED_INT as index type when supported by GL

Change-Id: I0988e102c8a04ce6cd02fb02528204ba810f853a
Reviewed-on: http://codereview.qt-project.org/4453
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/declarative/scenegraph/coreapi/qsggeometry.cpp
src/declarative/scenegraph/coreapi/qsggeometry.h
src/declarative/scenegraph/coreapi/qsgnode.cpp
src/declarative/scenegraph/coreapi/qsgrenderer.cpp
src/declarative/scenegraph/qsgdefaultglyphnode_p.cpp
src/declarative/scenegraph/qsgdefaultrectanglenode.cpp
tests/auto/declarative/geometry/tst_geometry.cpp