From bcfaa149b9803ce33c5a356cbcb45f7dfd3e4361 Mon Sep 17 00:00:00 2001
From: Sven Gothel
Date: Mon, 28 Oct 2013 03:58:01 +0100
Subject: Bug 776 GLContext Sharing: Add note about driver stability
(destruction order) ; Fix unit tests (Shared Gears, wait for created context
and destruction order)
- Add note about driver stability (destruction order)
- See GLSharedContextSetter: Don't destroy master context before slaves!
- Fix spec-overview.html#SHARED links, add link to GLSharedContextSetter in SHARED subsection.
- Fix unit tests (Shared Gears, wait for created context and destruction order)
- The GearsObject sharing was completly bogus!
It simply used the _same_ GLArrayDataServer instance for sharing,
but it should use a _copy_ of the shared GLArrayDataServer while
only preserving the VBO object!
Fixed, while adding required methods to GLArrayDataServer.
- Waiting for the created GLContext of a GLAutoDrawable required us
to pass the latter _and_ check whether it's GLContext exists and is natively created.
- Accomodated the destruction order - see above!
---
src/jogl/classes/javax/media/opengl/GLDrawableFactory.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'src/jogl/classes/javax/media/opengl/GLDrawableFactory.java')
diff --git a/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java b/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java
index 817dff8ad..98eb9bdde 100644
--- a/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java
+++ b/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java
@@ -675,8 +675,8 @@ public abstract class GLDrawableFactory {
* The GLPbuffer drawable is realized and initialized eagerly.
*
*
- * See the note in the overview documentation on
- * context sharing.
+ * See the note in the overview documentation in {@link GLSharedContextSetter} and on
+ * context sharing.
*
* @param device which {@link javax.media.nativewindow.AbstractGraphicsDevice#getConnection() connection} denotes the shared the target device, may be null
for the platform's default device.
* @param capabilities the requested capabilities
--
cgit v1.2.3