From c8da1c60b44f6de8a82fb801692bb3c8727abca0 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Sat, 6 Aug 2005 22:14:11 +0000 Subject: 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 --- src/net/java/games/jogl/GLAutoDrawable.java | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3