[Development] QT5 OpenGL question
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Fri Aug 2 14:09:41 CEST 2013
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 context are valid
*only if used within that context* (i.e. when that context is active).
That's why you ask a QOpenGLContext object to give you its
context-specific set of resolved function pointers. Any library that
gives you only one set of function pointers can't therefore handle the
situation in which you have multiple contextes (possibly on multiple GPUs).
HTH,
--
Join us at Qt Developer Days 2013! - https://devdays.kdab.com
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Software Engineer
KDAB (UK) Ltd., a KDAB Group company
Tel. UK +44-1738-450410, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4048 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130802/577c7acf/attachment.bin>
More information about the Development
mailing list