Hi, On Thursday 06 September 2012 12:21:20 Kim M. Kalland wrote: > On 06.09.2012 11:13, ext Wehmer, Matthias wrote: > > Hi everybody, > > > > did anyone try to use the QOpenGLFunctions object. I'm currently > > struggling with uploading my custom texture (simple uchar array) to > > the fragment shader. The problem is the following: As there is no > > solution via the QSGShaderProgram yet, I tried to use QOpenGLFunctions > > as it is described and explained here > > (http://qt-project.org/doc/qt-5.0/qopenglfunctions.html#openGLFeatures) > > and > > as it is used by the ShaderProgram anyway. Unfortunately the > > glBindTexture(...) method is not declared in the header, it is just > > missing. Does anyone know whether this is intended (then the example > > in the api should be changed I think) or was it accidentally > > forgotten? There are also some other important functions from the > > OpenGL ES standard missing, I think. Did someone already address this > > problem?
There is also this patch https://codereview.qt-project.org/#change,30554 which looks to add classes that wrap every OpenGL version (not OpenGL ES 3 yet) and every OpenGL extension. The earlier versions of the patch show examples of the classes. The most recent patchsets just include the code generator. Still needs a little more work on integrating it into Qt though. Sean -- Dr Sean Harmer | sean.har...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB - Qt Experts - Platform-independent software solutions _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development