⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

From QOpenGLContext to CGLContext

  • Hello everyone,

    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

Log in to reply