summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglbuffer.h
Commit message (Collapse)AuthorAgeFilesLines
* Change to commercial license headers in preparation for release.Jason McDonald2010-09-071-13/+13
| | | | Reviewed-by: Trust Me
* QGLBuffer::bind()/release() should not be const functions.Trond Kjernåsen2010-07-271-2/+2
| | | | | | | | | This is more or less the same as in the QGLFramebufferObject::bind()/release() case. Task-number: QTBUG-12319 Reviewed-by: Kim (cherry picked from commit 3a08c5b1682e211bf664c21850187e2b15e89c23)
* Make QGLBuffer copiableRhys Weatherley2010-05-281-2/+7
| | | | Reviewed-by: Gunnar
* API fixes to QGLBuffer.Rhys Weatherley2010-03-221-2/+3
| | | | | | | | 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
* Add a raw bind() function to QGLBuffer.Rhys Weatherley2010-03-181-0/+2
| | | | | | | | | | | | 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
* Placate pedantic compiler warning modes on QGLBufferRhys Weatherley2010-02-011-4/+4
| | | | Reviewed-by: Sarah Smith
* Add the QGLBuffer class to Qt 4.7 for VBO'sRhys Weatherley2010-02-011-0/+124
Reviewed-by: Sarah Smith