1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
JUCE/modules/juce_opengl/native
reuk 4bc2952419
OpenGL: Set up context sharing on the GL thread, rather than the main thread
wglShareLists will only succeed when the shared context is not currently
active on another thread, but it is difficult to ensure that the GL
thread is paused/inactive at any given time - in particular, it's very
easy to accidentally introduce deadlocks where the main thread waits for
the render thread's lock while the render thread waits for the
messagemanager lock.

The simplest way to ensure that no other thread has activated the shared
context is to share the contexts directly on the render thread itself.
2024-10-24 20:43:10 +01:00
..
java/app/com/rmsl/juce Update licensing information 2024-04-16 11:39:35 +01:00
juce_OpenGL_android.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_OpenGL_ios.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_OpenGL_linux.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_OpenGL_mac.h Platform: Remove compatibility checks for macOS 10.10 2024-07-02 18:06:27 +01:00
juce_OpenGL_windows.h OpenGL: Set up context sharing on the GL thread, rather than the main thread 2024-10-24 20:43:10 +01:00
juce_OpenGLExtensions.h Update licensing information 2024-04-16 11:39:35 +01:00