summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglfunctions.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Made extension resolving work with Core profile.Samuel Rødal2011-04-051-2/+2
| | | | | | | | | | | | | | | The Core profile was introduced in OpenGL 3.2 and if chosen removes all deprecated functionality from the OpenGL API. In the Core profile glGetString(GL_EXTENSIONS) is unsupported, so instead we need to use glGetStringi(GL_EXTENSIONS, index) together with glGetIntegerv(GL_NUM_EXTENSIONS). Also optimized the QGLExtensionMatcher to not have to recompute the split positions all the time. Preliminary support to prevent non-core-functions to be called in the GL 2 engine has also been added. Reviewed-by: Kim
* Update copyright year to 2011.Rohan McGovern2011-03-101-1/+1
| | | | | Reviewed-by: Trust Me (cherry picked from commit 774a3536b00c4d6e4c4c10b708e31b4373a338e3)
* QGLFunctions - cross-platform access to ES2.0 APIRhys Weatherley2010-08-121-0/+3705