From 040200121e35aced836985c085699ef6c9df0719 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Sun, 21 Dec 2008 20:02:57 +0000 Subject: Removed lockSurface(), unlockSurface(), and isSurfaceLocked() from GLDrawable interface because they are implementation details that should not be in the public API. Removed associated calls from GLCanvas, GLJPanel and Newt GLWindow. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1826 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/classes/javax/media/opengl/GLDrawable.java | 4 ---- src/classes/javax/media/opengl/awt/GLCanvas.java | 12 ------------ src/classes/javax/media/opengl/awt/GLJPanel.java | 9 --------- 3 files changed, 25 deletions(-) (limited to 'src/classes/javax') diff --git a/src/classes/javax/media/opengl/GLDrawable.java b/src/classes/javax/media/opengl/GLDrawable.java index 39c7f96ca..844e025a0 100644 --- a/src/classes/javax/media/opengl/GLDrawable.java +++ b/src/classes/javax/media/opengl/GLDrawable.java @@ -138,9 +138,5 @@ public interface GLDrawable { public GLDrawableFactory getFactory(); - public int lockSurface() throws GLException; - public void unlockSurface(); - public boolean isSurfaceLocked(); - public String toString(); } diff --git a/src/classes/javax/media/opengl/awt/GLCanvas.java b/src/classes/javax/media/opengl/awt/GLCanvas.java index 9391b566d..fe64ee90b 100644 --- a/src/classes/javax/media/opengl/awt/GLCanvas.java +++ b/src/classes/javax/media/opengl/awt/GLCanvas.java @@ -418,18 +418,6 @@ public class GLCanvas extends Canvas implements AWTGLAutoDrawable { return drawable.getFactory(); } - public int lockSurface() throws GLException { - return drawable.lockSurface(); - } - - public void unlockSurface() { - drawable.unlockSurface(); - } - - public boolean isSurfaceLocked() { - return drawable.isSurfaceLocked(); - } - public void destroy() { drawable.destroy(); } diff --git a/src/classes/javax/media/opengl/awt/GLJPanel.java b/src/classes/javax/media/opengl/awt/GLJPanel.java index 7c38cefe7..2eaf932a0 100644 --- a/src/classes/javax/media/opengl/awt/GLJPanel.java +++ b/src/classes/javax/media/opengl/awt/GLJPanel.java @@ -396,15 +396,6 @@ public class GLJPanel extends JPanel implements AWTGLAutoDrawable { return factory; } - public int lockSurface() throws GLException { - throw new GLException("FIXME"); - } - public void unlockSurface() { - throw new GLException("FIXME"); - } - public boolean isSurfaceLocked() { - throw new GLException("FIXME"); - } public void destroy() { throw new GLException("FIXME"); } -- cgit v1.2.3