diff options
author | Kenneth Russel <[email protected]> | 2006-02-21 09:43:43 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2006-02-21 09:43:43 +0000 |
commit | 36887db6c983244917802f3ec761a0d28171887a (patch) | |
tree | 7a79ed8a39d4278507482cd11d170e235111292d /src/classes/javax/media/opengl/GLDrawableFactory.java | |
parent | 704375911f3f01e9d4318783301ea3aba7891cb2 (diff) |
Added optimized path to GLDrawableHelper for situation where
GLWorkerThread is being used; last context made current on that thread
is left current on that thread. In the case where only a single OpenGL
context is in use this eliminates the repeated calls to makeCurrent.
Ran into same NVidia driver bug causing crashes upon exit with
Java2D/OpenGL pipeline. Added workaround to GLDrawableHelper which can
be enabled with -Djogl.nvidia.crash.workaround, which just disables
this optimization. Fixed GLCanvas and GLPbufferImpl's destruction
paths to behave correctly in the face of the context being left
current on the GLWorkerThread. Updated code in Threading related to
GLWorkerThread to interoperate better with Java2D/OpenGL pipeline.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@629 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/javax/media/opengl/GLDrawableFactory.java')
0 files changed, 0 insertions, 0 deletions