summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglbuffer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update year in Nokia copyright messages.Jason McDonald2012-01-111-1/+1
| | | | | | | | | Simple search and replace. This commit doesn't touch 3rd-party files, nor translations (where the change is not so simple and will be handled in a separate commit). Change-Id: I4e48513b8078a44a8cd272326685b25338890148 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Properly resolve and use glMapBuffer / glUnmapBuffer on GLES2.Samuel Rødal2011-07-261-0/+4
| | | | | | | | | Even though we're able to resolve the function pointers, the spec says we have to check for the GL_OES_mapbuffer extension before we use them. Fixes a crash on a platform that doesn't advertise the extension but still resolves the function pointers. Reviewed-by: Kim
* Update licenseheader text in source files for qt4.8Jyri Tahtela2011-05-131-17/+17
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Update copyright year to 2011.Jason McDonald2011-01-101-1/+1
| | | | Reviewed-by: Trust Me
* QGLBuffer::bind()/release() should not be const functions.Trond Kjernåsen2010-07-261-2/+2
| | | | | | | | This is more or less the same as in the QGLFramebufferObject::bind()/release() case. Task-number: QTBUG-12319 Reviewed-by: Kim
* Make QGLBuffer copiableRhys Weatherley2010-05-281-9/+83
| | | | Reviewed-by: Gunnar
* API fixes to QGLBuffer.Rhys Weatherley2010-03-221-19/+11
| | | | | | | | Use GLuint for bufferId(), not uint. Replace the raw bind() function with a raw release(), because that's the only useful case for being able to do a raw glBindBuffer(). Reviewed-by: Daniel Pope
* Added warnings on non-created buffer in QGLBufferGunnar Sletta2010-03-221-0/+24
| | | | Reviewed-by: Rhys Weatherley
* Add a raw bind() function to QGLBuffer.Rhys Weatherley2010-03-181-0/+32
| | | | | | | | | | | | It is awkward for a Qt application to do the equivalent of glBindBuffer(GL_ARRAY_BUFFER, 0) without knowing the QGLBuffer that was previously bound, or to bind a raw id obtained elsewhere. Resolving the extension is annoying. This change provides a raw low-level version of bind() for directly resolving and calling glBindBuffer() to assist such applications. Reviewed-by: Sarah Smith
* Fixed wrong variable nameGabriel de Dietrich2010-02-041-1/+1
| | | | Reviewed-by: Olivier
* Placate pedantic compiler warning modes on QGLBufferRhys Weatherley2010-02-011-11/+11
| | | | Reviewed-by: Sarah Smith
* Add the QGLBuffer class to Qt 4.7 for VBO'sRhys Weatherley2010-02-011-0/+454
Reviewed-by: Sarah Smith