From de8a370258e60ad9bcf40cf8e6d239ecf306114e Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 6 Nov 2013 15:30:50 +0100 Subject: Bug 894 - GLDrawableFactory* [dummy|offscreen] Surface creation w/ own device does _not_ require locking on global shared device. --- src/jogl/classes/javax/media/opengl/GLDrawableFactory.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/jogl/classes/javax') diff --git a/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java b/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java index 2af4ba306..2b1d228ad 100644 --- a/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java +++ b/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java @@ -490,6 +490,9 @@ public abstract class GLDrawableFactory { * If neither FBO nor Pbuffer is available, * a simple pixmap/bitmap auto drawable is created, which is unlikely to be hardware accelerated. *

+ *

+ * The resulting {@link GLOffscreenAutoDrawable} has it's own independent device instance using device details. + *

* * @param device which {@link AbstractGraphicsDevice#getConnection() connection} denotes the shared device to be used, may be null for the platform's default device. * @param caps the requested GLCapabilties @@ -540,6 +543,9 @@ public abstract class GLDrawableFactory { * If neither FBO nor Pbuffer is available, * a simple pixmap/bitmap auto drawable is created, which is unlikely to be hardware accelerated. *

+ *

+ * The resulting {@link GLOffscreenAutoDrawable} has it's own independent device instance using device details. + *

* * @param device which {@link AbstractGraphicsDevice#getConnection() connection} denotes the shared device to be used, may be null for the platform's default device. * @param caps the requested GLCapabilties @@ -604,6 +610,9 @@ public abstract class GLDrawableFactory { * If neither FBO nor Pbuffer is available, * a simple pixmap/bitmap drawable is created, which is unlikely to be hardware accelerated. *

+ *

+ * The resulting {@link GLDrawable} has it's own independent device instance using device details. + *

* * @param device which {@link AbstractGraphicsDevice#getConnection() connection} denotes the shared device to be used, may be null for the platform's default device. * @param caps the requested GLCapabilties @@ -657,6 +666,10 @@ public abstract class GLDrawableFactory { * you will be able to implement a new native windowing system binding almost on-the-fly, * see {@link com.jogamp.opengl.swt.GLCanvas}. *

+ *

+ * The resulting {@link GLOffscreenAutoDrawable} has it's own independent device instance using device details + * which may be blocking depending on platform and windowing-toolkit requirements. + *

* * @param device which {@link AbstractGraphicsDevice#getConnection() connection} denotes the shared the target device, may be null for the platform's default device. * Caller has to ensure it is compatible w/ the given windowHandle -- cgit v1.2.3