From c53440b808ecf8ea066479c004cac4cdbb1e989d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 30 Oct 2013 01:57:34 +0100 Subject: Bug 776 GLContext Sharing: GLSharedContextSetter API Doc: Add 'glFinish()' to lifecycle considerations ; GearsES2: Add glFinish() after init(). --- src/jogl/classes/javax/media/opengl/GLSharedContextSetter.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/jogl') diff --git a/src/jogl/classes/javax/media/opengl/GLSharedContextSetter.java b/src/jogl/classes/javax/media/opengl/GLSharedContextSetter.java index fd48d12bf..873e4cd9f 100644 --- a/src/jogl/classes/javax/media/opengl/GLSharedContextSetter.java +++ b/src/jogl/classes/javax/media/opengl/GLSharedContextSetter.java @@ -41,6 +41,11 @@ package javax.media.opengl; *

*
Lifecycle Considerations
*

+ * After shared objects are created on the master, the OpenGL pipeline + * might need to be synchronized w/ the slaves, e.g. via {@link GL#glFinish()}. + * At least this has been experienced w/ OSX 10.9. + *

+ *

* Be aware that the master {@link GLContext} and related resources * shall not be destroyed before it's slave {@link GLContext} instances while they are using them.
* Otherwise the OpenGL driver implementation may crash w/ SIGSEGV, since using already destroyed resources, -- cgit v1.2.3