QOpenGLFunctions shouldn't be selective since it states that it provides
access to the GLES2 API for users to be able to use the GLES2 API (on the
desktop), providing random/selective functions from GLES2 would be silly,
missing a core function like glClear() would be even more silly, so I'm
pretty
On 02/08/2013 22:30, Jiergir Ogoerg wrote:
Also,
QOpenGLFunctions doesn't have a glClear() function while being
advertised as "The QOpenGLFunctions class provides cross-platform
access to the OpenGL/ES 2.0 API" but GLES2.0 does have a glClear()
function.
Is it a bug?
Other classes like QOpe
Also,
QOpenGLFunctions doesn't have a glClear() function while being advertised
as "The QOpenGLFunctions class provides cross-platform access to the
OpenGL/ES 2.0 API" but GLES2.0 does have a glClear() function.
Is it a bug?
Other classes like QOpenGLFunctions_2_1 and QOpenGLFunctions_3_2_Core do
Thanks both of you, I see now, GL is old (1993 I guess) and it shows, e.g.
it requires creating a context on windows before even being able to query
GL info etc.
What do you think of the new Linux GL ABI proposal from Nvidia:
https://github.com/aritger/linux-opengl-abi-proposal
I recall doing som
Il 02/08/2013 14:01, Jiergir Ogoerg ha scritto:
On your later point - could you please elaborate on why you need the GL
function addresses to be context-specific? I've used freeglut and GLFW
before and never cared of had issues with this.
Because the function pointers returned from a given cont
Thanks, but it's better to use functions wrapped in namespaces when it's
possible (for example - according to Google's C++ coding style) instead of
static methods in classes or methods of class instances or any other
solution when you can just use functions wrapped in namespaces.
And no, Qt5 doesn'
Hi,
I'm willing to switch to QT5 with GL,
afaik in Qt5 the GL functions are encapsulated into a class that extends
QAbstractOpenGLFunctions and you can't use the GL calls outside that class
unless you pass each time a reference to this class.
Why doesn't it publish the GL functions publicly (not i