You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to process vertex data on a secondary thread, but every gl call fails unless the context is current on that thread. Since the video::Window has Rc<WindowContext>, it cannot be sent to another thread. How can i make the context current on another thread without the window?
Another thing (less important): is it possible to achieve something like glfw's render context (process sdl events on the main thread // calling opengl from another)
The text was updated successfully, but these errors were encountered:
saverioscagnoli
changed the title
Is it possible to make the opengl current on other threads?
Is it possible to make the opengl context current on other threads?
Jan 27, 2025
I would like to process vertex data on a secondary thread, but every gl call fails unless the context is current on that thread. Since the video::Window has Rc<WindowContext>, it cannot be sent to another thread. How can i make the context current on another thread without the window?
Another thing (less important): is it possible to achieve something like glfw's
render context
(process sdl events on the main thread // calling opengl from another)The text was updated successfully, but these errors were encountered: