aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/javax/media
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-10-30 01:57:34 +0100
committerSven Gothel <[email protected]>2013-10-30 01:57:34 +0100
commitc53440b808ecf8ea066479c004cac4cdbb1e989d (patch)
tree01f0722dd048c3db3f1e400c32d958bed92a70ed /src/jogl/classes/javax/media
parent5cb08416a6ed44814065771f469a94f79c49ab3f (diff)
Bug 776 GLContext Sharing: GLSharedContextSetter API Doc: Add 'glFinish()' to lifecycle considerations ; GearsES2: Add glFinish() after init().
Diffstat (limited to 'src/jogl/classes/javax/media')
-rw-r--r--src/jogl/classes/javax/media/opengl/GLSharedContextSetter.java5
1 files changed, 5 insertions, 0 deletions
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;
* </p>
* <h5><a name="lifecycle">Lifecycle Considerations</a></h5>
* <p>
+ * After shared objects are created on the <i>master</i>, the OpenGL pipeline
+ * might need to be synchronized w/ the <i>slaves</i>, e.g. via {@link GL#glFinish()}.
+ * At least this has been experienced w/ OSX 10.9.
+ * </p>
+ * <p>
* Be aware that the <i>master</i> {@link GLContext} and related resources
* <i>shall not</i> be destroyed before it's <i>slave</i> {@link GLContext} instances <i>while they are using them</i>.<br>
* Otherwise the OpenGL driver implementation may crash w/ SIGSEGV, since using already destroyed resources,