Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. From QOpenGLContext to CGLContext

From QOpenGLContext to CGLContext

Scheduled Pinned Locked Moved Unsolved General and Desktop
openglcocoa
1 Posts 1 Posters 309 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • UlysseU Offline
    UlysseU Offline
    Ulysse
    wrote on last edited by Ulysse
    #1

    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
    Regards

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved