Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
From QOpenGLContext to CGLContext
Ulysse last edited by Ulysse
I am writing a cross platform Windows/Mac application that uses a QOpenGLContext for graphics rendering purposes.
Now there is a feature for wich i need to use a CGLContext on Mac because the library I use requires it.
The feature will allocate textures for me to later use with the QOpenGLContext.
Thus my questions are :
- How do I share ressources between a QOpenGLContext and a CGLContext ?
- I there a way of getting / creating a CGLContext from a QOpenGLContext ?
- If above is not possible, what would be the solution to such a problem ?
Thank you for your help