From 22918e26ac717d661d45c764177780454f06c937 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 10 Jul 2014 16:50:16 +0200 Subject: Refine 'GLSharedContextSetter' test cases: Use 'setSharedAutoDrawable(sharedAutoDrawable)' where possible; Fix/Refine API doc. --- src/jogl/classes/javax/media/opengl/GLSharedContextSetter.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/jogl/classes/javax/media') diff --git a/src/jogl/classes/javax/media/opengl/GLSharedContextSetter.java b/src/jogl/classes/javax/media/opengl/GLSharedContextSetter.java index 11ed648c2..679898dca 100644 --- a/src/jogl/classes/javax/media/opengl/GLSharedContextSetter.java +++ b/src/jogl/classes/javax/media/opengl/GLSharedContextSetter.java @@ -110,6 +110,12 @@ public interface GLSharedContextSetter extends GLAutoDrawable { * as long it is not {@link GLContext#isCreated() created natively}. *

*

+ * The preferred method of assigning a shared context is + * to {@link #setSharedAutoDrawable(GLAutoDrawable) set the shared GLAutoDrawable}, + * since this method also takes the {@link GLEventListener} + * {@link GLAutoDrawable#areAllGLEventListenerInitialized() initialization into account}. + *

+ *

* See Lifecycle Considerations. *

* @@ -129,12 +135,12 @@ public interface GLSharedContextSetter extends GLAutoDrawable { * this method shall be called beforehand to have any effect. *

*

- * A set sharedAutoDrawable will block context creation, i.e. {@link GLAutoDrawable#initialization GLAutoDrawable initialization}, + * A set sharedAutoDrawable will block context creation, i.e. initialization * as long it's *

*

*

-- cgit v1.2.3