diff options
author | Kenneth Russel <[email protected]> | 2005-08-06 22:14:11 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-08-06 22:14:11 +0000 |
commit | c8da1c60b44f6de8a82fb801692bb3c8727abca0 (patch) | |
tree | de14c1c59e4d8e049fc03624502698945889e54f /src/net/java/games | |
parent | bdc6894746d93f38c6ad67ee0eddbd927a5c4818 (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
Diffstat (limited to 'src/net/java/games')
-rwxr-xr-x | src/net/java/games/jogl/GLAutoDrawable.java | 4 |
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 |