Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. How do i have to use GLContext to load gl data from a second thread?
Forum Updated to NodeBB v4.3 + New Features

How do i have to use GLContext to load gl data from a second thread?

Scheduled Pinned Locked Moved Unsolved Game Development
1 Posts 1 Posters 301 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.
  • S Offline
    S Offline
    Smut
    wrote on last edited by
    #1

    Hello

    Im currently running my OpenGL project with PyQt and OpenGL and i want to seperate the windows interface against loading stuff which is executed on user interactions.

    But i have problems with setting up the context to be shared between the windows' QGLWidget, which only renders objects, and the user defined process of getting an object, loading it to the gl buffers and then add it to the renders loop.

    Do anyone can help me?
    Or could tell me an alternative, how i can:

    1. Control the window without
    2. the process of loading objects, which take a huge amount of time to be loaded to the gpu

    Thank for answers!

    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