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
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
..
geometry Update licensing information 2024-04-16 11:39:35 +01:00
native OpenGL: Set up context sharing on the GL thread, rather than the main thread 2024-10-24 20:43:10 +01:00
opengl OpenGL: Detach OpenGL context after initialisation 2024-10-24 20:43:10 +01:00
utils Update licensing information 2024-04-16 11:39:35 +01:00
juce_opengl.cpp Windows: Fix build warnings when JUCE_DISABLE_ASSERTIONS is set 2024-09-13 13:57:10 +01:00
juce_opengl.h Bump version number to 8.0.3 2024-10-15 22:16:12 +01:00
juce_opengl.mm Update licensing information 2024-04-16 11:39:35 +01:00