summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-08-06 22:14:11 +0000
committerKenneth Russel <[email protected]>2005-08-06 22:14:11 +0000
commitc8da1c60b44f6de8a82fb801692bb3c8727abca0 (patch)
treede14c1c59e4d8e049fc03624502698945889e54f
parentbdc6894746d93f38c6ad67ee0eddbd927a5c4818 (diff)
Added repaint() to GLAutoDrawable interface and used it in gleem
package to break deadlocks when another thread than AWT event queue thread is involved in OpenGL rendering. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@342 232f8b59-042b-4e1e-8c03-345bb8c30851
-rwxr-xr-xsrc/net/java/games/jogl/GLAutoDrawable.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/java/games/jogl/GLAutoDrawable.java b/src/net/java/games/jogl/GLAutoDrawable.java
index 2494483f5..ce3755bd8 100755
--- a/src/net/java/games/jogl/GLAutoDrawable.java
+++ b/src/net/java/games/jogl/GLAutoDrawable.java
@@ -79,6 +79,10 @@ public interface GLAutoDrawable extends GLDrawable, ComponentEvents {
display} callback. */
public void display();
+ /** Schedules a repaint of the component at some point in the
+ future. */
+ public void repaint();
+
/** Enables or disables automatic buffer swapping for this drawable.
By default this property is set to true; when true, after all
GLEventListeners have been called for a display() event, the