aboutsummaryrefslogtreecommitdiffstats
path: root/gl4java/drawable/SunJDK13GLDrawableFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'gl4java/drawable/SunJDK13GLDrawableFactory.java')
-rwxr-xr-xgl4java/drawable/SunJDK13GLDrawableFactory.java17
1 files changed, 11 insertions, 6 deletions
diff --git a/gl4java/drawable/SunJDK13GLDrawableFactory.java b/gl4java/drawable/SunJDK13GLDrawableFactory.java
index bc707d8..cb74edb 100755
--- a/gl4java/drawable/SunJDK13GLDrawableFactory.java
+++ b/gl4java/drawable/SunJDK13GLDrawableFactory.java
@@ -62,13 +62,18 @@ public abstract class SunJDK13GLDrawableFactory extends GLDrawableFactory {
GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice());
}
- //----------------------------------------------------------------------
- // Internals only below this point
- //
+ /** Returns the GraphicsConfiguration most closely matching the
+ specified set of GLCapabilities and your given device !
+ Return null if there was no matching visual.
- /** The choice of the GraphicsDevice is not yet exported to
- clients. */
- abstract GraphicsConfiguration
+ @param capabilities the requested set of OpenGL capabilities of
+ the canvas
+ @param device the used GraphicsDevice,
+ e.g. usefull for FullScreen mode !
+ @return a GraphicsConfiguration supporting the set of specified capabilities,
+ or null if there was no matching visual
+ */
+ public abstract GraphicsConfiguration
getGraphicsConfiguration(GLCapabilities capabilities,
GraphicsDevice device);
}