aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-08-05 05:32:15 +0200
committerSven Gothel <[email protected]>2011-08-05 05:32:15 +0200
commit4dbb8731219212e27c9afb769a1c62b32bd230a6 (patch)
tree0b0e18917789b795bf2f90ad17261045942f99d6 /src/nativewindow/classes
parentfa365b3118bcf71bc5466c4789a460fb0f96b41c (diff)
deployment resturcturing: combine nativewindow/jogl/newt ; newt: 'driver' separation ; android cleanup
remaining all-in-one jnlp's / jars: jogl-all-awt.jnlp -> jogl.all.jar jogl-all-noawt.jnlp -> jogl.all-noawt.jar jogl-all-mobile.jnlp -> jogl.all-mobile.jar native for all above: jogl-all-natives-linux-amd64.jar jogl.all-android.apk jogl.all-android.jar more may follow for each supported platfrom ++++ - newt: proper 'driver' separation - all drivers reside now in jogamp.newt.driver.* - remove intptr.cfg / use gluegen's
Diffstat (limited to 'src/nativewindow/classes')
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
index 3b71555b4..ee6d44d48 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
@@ -62,6 +62,9 @@ public abstract class NativeWindowFactory {
/** X11 type, as retrieved with {@link #getNativeWindowType(boolean)} */
public static final String TYPE_X11 = "X11";
+ /** Android/EGL type, as retrieved with {@link #getNativeWindowType(boolean)}*/
+ public static final String TYPE_ANDROID = "ANDROID";
+
/** Mac OS X type, as retrieved with {@link #getNativeWindowType(boolean)} */
public static final String TYPE_MACOSX = "MacOSX";
@@ -101,7 +104,7 @@ public abstract class NativeWindowFactory {
private static String _getNativeWindowingType() {
switch(Platform.OS_TYPE) {
case ANDROID:
- throw new RuntimeException(Platform.OS_TYPE+" n/a yet");
+ return TYPE_ANDROID;
case MACOS:
return TYPE_MACOSX;
case WINDOWS: