aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/games/jogl/impl/GLContextFactory.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2004-04-12 19:40:30 +0000
committerKenneth Russel <[email protected]>2004-04-12 19:40:30 +0000
commitdc4d980ec184d2372b5bde0384ff17cda845c0b5 (patch)
treeebed0e5ec948b347b6a4c13cf707cb9f3e6ec720 /src/net/java/games/jogl/impl/GLContextFactory.java
parent4b7ef68fc3d3e836829a5a83245f0f0c874a3201 (diff)
Fixed Javadoc problems
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@107 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/jogl/impl/GLContextFactory.java')
-rw-r--r--src/net/java/games/jogl/impl/GLContextFactory.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/net/java/games/jogl/impl/GLContextFactory.java b/src/net/java/games/jogl/impl/GLContextFactory.java
index b686d3543..4aa23c397 100644
--- a/src/net/java/games/jogl/impl/GLContextFactory.java
+++ b/src/net/java/games/jogl/impl/GLContextFactory.java
@@ -40,6 +40,8 @@
package net.java.games.jogl.impl;
import java.awt.Component;
+import java.awt.GraphicsConfiguration;
+import java.awt.GraphicsDevice;
import net.java.games.jogl.*;
public abstract class GLContextFactory {
@@ -84,6 +86,18 @@ public abstract class GLContextFactory {
return factory;
}
+ /** Selects a GraphicsConfiguration on the specified GraphicsDevice
+ that matches the desired GLCapabilities according to the
+ specified GLCapabilitiesChooser's selection algorithm and any
+ hints provided by the underlying window system. This routine is
+ currently only implemented on X11, where it is necessary to
+ choose the desired visual before creating the underlying AWT
+ Canvas; on other platforms it returns null, yielding the default
+ behavior. */
+ public abstract GraphicsConfiguration chooseGraphicsConfiguration(GLCapabilities capabilities,
+ GLCapabilitiesChooser chooser,
+ GraphicsDevice device);
+
public abstract GLContext createGLContext(Component component,
GLCapabilities capabilities,
GLCapabilitiesChooser chooser,