aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/javax
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2008-12-21 20:02:57 +0000
committerKenneth Russel <[email protected]>2008-12-21 20:02:57 +0000
commit040200121e35aced836985c085699ef6c9df0719 (patch)
tree8abb08bfb96c59a231647342720f336faf2657de /src/classes/javax
parentc62bd461e08fb4c2d2d775364e8edff2b04e5671 (diff)
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
Diffstat (limited to 'src/classes/javax')
-rw-r--r--src/classes/javax/media/opengl/GLDrawable.java4
-rw-r--r--src/classes/javax/media/opengl/awt/GLCanvas.java12
-rw-r--r--src/classes/javax/media/opengl/awt/GLJPanel.java9
3 files changed, 0 insertions, 25 deletions
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");
}