mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
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. |
||
|---|---|---|
| .. | ||
| java/app/com/rmsl/juce | ||
| juce_OpenGL_android.h | ||
| juce_OpenGL_ios.h | ||
| juce_OpenGL_linux.h | ||
| juce_OpenGL_mac.h | ||
| juce_OpenGL_windows.h | ||
| juce_OpenGLExtensions.h | ||