summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglbuffer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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