diff options
author | Kenneth Russel <[email protected]> | 2005-01-28 02:43:29 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-01-28 02:43:29 +0000 |
commit | 0e0957380a24ea02bdcb3ae652b9367d505345f2 (patch) | |
tree | a3be0da5ca1d91e1f88ac38f4b4ba05a500c2513 /src/net/java/games/gluegen/CommentEmitter.java | |
parent | 5b5b8fe543ec1e4189db1c9de4cea8755a2e3ddc (diff) |
Fixed Issue 54: No GL listener callbacks when setting render thread before window is visible
The issue (or a related one) is still present in the current JOGL
build, although the symptom was different: a deadlock upon startup of
the application. When the OpenGL context is created in the
WindowsOnscreenGLContext implementation, it causes
Component.getGraphicsConfiguration() to be called, which causes the
AWT tree lock to be grabbed. Under some circumstances, another thread
can already hold the AWT tree lock and call GLContext.invokeGL(),
which leads to a classic deadlock. Resolved this by eagerly grabbing
the tree lock under some circumstances (not all the time) before
entering the synchronized invokeGL in (only) the Windows onscreen
context implementation.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@193 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/gluegen/CommentEmitter.java')
0 files changed, 0 insertions, 0 deletions