From 1ff81eb806d6df78994a808217eb2c5f6b4ef8da Mon Sep 17 00:00:00 2001
From: Sven Gothel
Date: Thu, 14 Oct 2010 21:34:27 +0200
Subject: Fix/Syn with JOGL 774138544e1eec3330309ad682fa05154a07ab8d ; Notably
add: Applet's with native NEWT support, ie jogl-newt-applet-runner-gears.html
---
java-dbg-swing.sh | 5 +-
java-dbg.sh | 4 +-
java-run-swing.sh | 4 +-
jnlp-files/CustomText.jnlp | 4 +-
jnlp-files/FlyingText.jnlp | 4 +-
jnlp-files/Gears.jnlp | 4 +-
jnlp-files/HWShadowmapsSimple.jnlp | 4 +-
jnlp-files/InfiniteShadowVolumes.jnlp | 4 +-
jnlp-files/JRefract.jnlp | 4 +-
jnlp-files/JRefractNoOGL.jnlp | 4 +-
jnlp-files/ParticleEngine.jnlp | 4 +-
jnlp-files/ProceduralTexturePhysics.jnlp | 4 +-
jnlp-files/TestTextRenderer.jnlp | 4 +-
jnlp-files/TextCube.jnlp | 4 +-
jnlp-files/TextCubeDebug.jnlp | 30 ++++
jnlp-files/TextFlow.jnlp | 4 +-
jnlp-files/VertexArrayRange.jnlp | 4 +-
jnlp-files/VertexBufferObject.jnlp | 4 +-
jnlp-files/VertexProgRefract.jnlp | 4 +-
jnlp-files/VertexProgWarp.jnlp | 4 +-
jnlp-files/WorldWindBasicDemo.jnlp | 4 +-
jnlp-files/XTrans.jnlp | 4 +-
.../jogl-newt-applet-runner-angelesgl2es1.html | 7 +
jnlp-files/jogl-newt-applet-runner-cube.html | 8 ++
jnlp-files/jogl-newt-applet-runner-fbcubes.html | 8 ++
jnlp-files/jogl-newt-applet-runner-gears.html | 8 ++
jnlp-files/version.jnlp | 4 +-
jnlp-files/worldwind.jnlp | 4 +-
make/build.xml | 3 +-
nbproject/project.xml | 23 +++
src/demos/applets/GearsApplet.java | 4 +-
src/demos/applets/GearsJOALApplet.java | 4 +-
src/demos/applets/JOGLNewtApplet1Run.java | 1 +
src/demos/applets/JOGLNewtAppletBase.java | 31 ++--
src/demos/cg/runtime_ogl/cgGL_vertex_example.java | 11 +-
.../runtime_ogl_vertex_fragment.java | 11 +-
src/demos/cubefbo/FBCubes.java | 4 -
src/demos/cubefbo/Main.java | 10 +-
src/demos/fullscreen/GearsFullscreen.java | 11 +-
src/demos/fullscreen/GearsFullscreen2.java | 11 +-
src/demos/gamma/TestGamma.java | 6 +-
src/demos/gears/Gears.java | 156 +++++++++++----------
src/demos/hdr/HDR.java | 10 +-
.../hwShadowmapsSimple/HWShadowmapsSimple.java | 21 ++-
.../InfiniteShadowVolumes.java | 10 +-
src/demos/j2d/CustomText.java | 10 +-
src/demos/j2d/FlyingText.java | 11 +-
src/demos/j2d/TestOverlay.java | 10 +-
src/demos/j2d/TestTextRenderer.java | 11 +-
src/demos/j2d/TestTextureRenderer.java | 10 +-
src/demos/j2d/TextCube.java | 10 +-
src/demos/j2d/TextFlow.java | 10 +-
src/demos/jrefract/JRefract.java | 7 +
src/demos/misc/GLCapsTableDemo.java | 10 +-
src/demos/misc/Picking.java | 10 +-
src/demos/multisample/Multisample.java | 11 +-
src/demos/nurbs/curveapp/CurveApp.java | 11 +-
src/demos/nurbs/surfaceapp/SurfaceApp.java | 11 +-
src/demos/particles/engine/ControlWindow.java | 9 ++
src/demos/printext/PrintExt.java | 10 +-
.../ProceduralTexturePhysics.java | 11 +-
src/demos/swt/Snippet209.java | 10 +-
src/demos/tess/Tess.java | 10 +-
.../TestContextDestruction.java | 10 +-
.../testContextSharing/TestContextSharing.java | 10 +-
src/demos/texture/TestSubImage.java | 10 +-
src/demos/texture/TestTexture.java | 10 +-
src/demos/vertexArrayRange/VertexArrayRange.java | 38 ++---
.../vertexBufferObject/VertexBufferObject.java | 10 +-
src/demos/vertexProgRefract/VertexProgRefract.java | 9 +-
src/demos/vertexProgWarp/VertexProgWarp.java | 12 +-
src/demos/xtrans/Main.java | 9 ++
src/gleem/TestExaminerViewer.java | 5 +-
src/gleem/TestHandleBox.java | 5 +-
src/gleem/TestMultiWin.java | 4 +-
src/gleem/TestTranslate1.java | 4 +-
src/gleem/TestTranslate2.java | 4 +-
src/redbook/src/glredbook10/alpha.java | 11 +-
src/redbook/src/glredbook1314/combiner.java | 11 +-
src/redbook/src/glredbook1314/fogcoord.java | 11 +-
src/redbook/src/glredbook1314/multisamp.java | 11 +-
src/redbook/src/glredbook1314/shadowmap.java | 11 +-
82 files changed, 573 insertions(+), 285 deletions(-)
create mode 100644 jnlp-files/TextCubeDebug.jnlp
diff --git a/java-dbg-swing.sh b/java-dbg-swing.sh
index afebefa..7c120d5 100644
--- a/java-dbg-swing.sh
+++ b/java-dbg-swing.sh
@@ -4,8 +4,9 @@ CPOK=0
echo $CLASSPATH | grep jogl && CPOK=1
#SWING_PROPS="-Dsun.java2d.noddraw=true -Dsun.java2d.opengl=true"
-#SWING_PROPS_DBG="-Djnlp.jogl.debug.GLJPanel=true"
-SWING_PROPS_DBG="-Dnewt.debug=all -Dnativewindow.debug=all -Djogl.debug=all"
+SWING_PROPS="-Dsun.java2d.noddraw=true"
+SWING_PROPS_DBG="-Djnlp.jogl.debug.GLJPanel=true"
+# SWING_PROPS_DBG="-Dnewt.debug=all -Dnativewindow.debug=all -Djogl.debug=all"
if [ $CPOK -eq 0 ] ; then
# Only valid for autobuild .. otherwise run manually with build-dir
diff --git a/java-dbg.sh b/java-dbg.sh
index 8fdab6c..04e4841 100644
--- a/java-dbg.sh
+++ b/java-dbg.sh
@@ -11,8 +11,8 @@ fi
if [ $CPOK -eq 0 ] ; then
echo No JOGL in CLASSPATH
else
-D_ARGS="-Djogamp.debug.JNILibLoader=true -Djogamp.debug.NativeLibrary=true -Djogamp.debug.NativeLibrary.Lookup=true -Djogl.debug.GLProfile=true"
-# D_ARGS="-Djogl.debug=all -Dnewt.debug=all -Dnativewindow.debug=all"
+# D_ARGS="-Djogamp.debug.JNILibLoader=true -Djogamp.debug.NativeLibrary=true -Djogamp.debug.NativeLibrary.Lookup=true -Djogl.debug.GLProfile=true"
+D_ARGS="-Djogl.debug=all -Dnewt.debug=all -Dnativewindow.debug=all"
java $D_ARGS $* 2>&1 | tee java-dbg.log
fi
diff --git a/java-run-swing.sh b/java-run-swing.sh
index 795922b..13995bd 100644
--- a/java-run-swing.sh
+++ b/java-run-swing.sh
@@ -3,8 +3,8 @@
CPOK=0
echo $CLASSPATH | grep jogl && CPOK=1
-#SWING_PROPS="-Dsun.java2d.noddraw=true -Dsun.java2d.opengl=true"
-#SWING_PROPS_DBG="-Djnlp.jogl.debug.GLJPanel=true"
+SWING_PROPS="-Dsun.java2d.noddraw=true -Dsun.java2d.opengl=false"
+SWING_PROPS_DBG="-Djnlp.jogl.debug.GLJPanel=true"
if [ $CPOK -eq 0 ] ; then
# Only valid for autobuild .. otherwise run manually with build-dir
diff --git a/jnlp-files/CustomText.jnlp b/jnlp-files/CustomText.jnlp
index b81fb94..eb47a7f 100644
--- a/jnlp-files/CustomText.jnlp
+++ b/jnlp-files/CustomText.jnlp
@@ -19,5 +19,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/FlyingText.jnlp b/jnlp-files/FlyingText.jnlp
index 148d194..74a0810 100644
--- a/jnlp-files/FlyingText.jnlp
+++ b/jnlp-files/FlyingText.jnlp
@@ -19,5 +19,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/Gears.jnlp b/jnlp-files/Gears.jnlp
index 994529c..22aefde 100755
--- a/jnlp-files/Gears.jnlp
+++ b/jnlp-files/Gears.jnlp
@@ -19,5 +19,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/HWShadowmapsSimple.jnlp b/jnlp-files/HWShadowmapsSimple.jnlp
index 294f3aa..dfa7c7c 100644
--- a/jnlp-files/HWShadowmapsSimple.jnlp
+++ b/jnlp-files/HWShadowmapsSimple.jnlp
@@ -20,5 +20,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/InfiniteShadowVolumes.jnlp b/jnlp-files/InfiniteShadowVolumes.jnlp
index 772d26d..ce833d4 100644
--- a/jnlp-files/InfiniteShadowVolumes.jnlp
+++ b/jnlp-files/InfiniteShadowVolumes.jnlp
@@ -20,5 +20,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/JRefract.jnlp b/jnlp-files/JRefract.jnlp
index 8a5af91..f8003a8 100644
--- a/jnlp-files/JRefract.jnlp
+++ b/jnlp-files/JRefract.jnlp
@@ -24,5 +24,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/JRefractNoOGL.jnlp b/jnlp-files/JRefractNoOGL.jnlp
index 7bce38a..1f6feba 100644
--- a/jnlp-files/JRefractNoOGL.jnlp
+++ b/jnlp-files/JRefractNoOGL.jnlp
@@ -20,5 +20,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/ParticleEngine.jnlp b/jnlp-files/ParticleEngine.jnlp
index b13b2eb..86f88bd 100644
--- a/jnlp-files/ParticleEngine.jnlp
+++ b/jnlp-files/ParticleEngine.jnlp
@@ -18,5 +18,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/ProceduralTexturePhysics.jnlp b/jnlp-files/ProceduralTexturePhysics.jnlp
index 6076629..aa321f4 100644
--- a/jnlp-files/ProceduralTexturePhysics.jnlp
+++ b/jnlp-files/ProceduralTexturePhysics.jnlp
@@ -20,5 +20,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/TestTextRenderer.jnlp b/jnlp-files/TestTextRenderer.jnlp
index a46a277..1455e00 100644
--- a/jnlp-files/TestTextRenderer.jnlp
+++ b/jnlp-files/TestTextRenderer.jnlp
@@ -19,5 +19,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/TextCube.jnlp b/jnlp-files/TextCube.jnlp
index 25f1336..ab9ee6a 100644
--- a/jnlp-files/TextCube.jnlp
+++ b/jnlp-files/TextCube.jnlp
@@ -19,5 +19,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/TextCubeDebug.jnlp b/jnlp-files/TextCubeDebug.jnlp
new file mode 100644
index 0000000..a50ad1a
--- /dev/null
+++ b/jnlp-files/TextCubeDebug.jnlp
@@ -0,0 +1,30 @@
+
+
+
+ Text Cube Debug
+ JogAmp Community
+
+ Text Cube Debug
+ Shows how to use the TextRenderer to draw 2D text in 3D. Debug Version
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ NotFirstUIActionOnProcess
+
+
diff --git a/jnlp-files/TextFlow.jnlp b/jnlp-files/TextFlow.jnlp
index 7b79aac..bff834d 100644
--- a/jnlp-files/TextFlow.jnlp
+++ b/jnlp-files/TextFlow.jnlp
@@ -19,5 +19,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/VertexArrayRange.jnlp b/jnlp-files/VertexArrayRange.jnlp
index edc5b53..eae869e 100644
--- a/jnlp-files/VertexArrayRange.jnlp
+++ b/jnlp-files/VertexArrayRange.jnlp
@@ -19,5 +19,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/VertexBufferObject.jnlp b/jnlp-files/VertexBufferObject.jnlp
index 035e0af..cfa6f9c 100644
--- a/jnlp-files/VertexBufferObject.jnlp
+++ b/jnlp-files/VertexBufferObject.jnlp
@@ -19,5 +19,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/VertexProgRefract.jnlp b/jnlp-files/VertexProgRefract.jnlp
index 1b0830b..3d50e30 100644
--- a/jnlp-files/VertexProgRefract.jnlp
+++ b/jnlp-files/VertexProgRefract.jnlp
@@ -20,5 +20,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/VertexProgWarp.jnlp b/jnlp-files/VertexProgWarp.jnlp
index 3d9c8d0..733c0a9 100644
--- a/jnlp-files/VertexProgWarp.jnlp
+++ b/jnlp-files/VertexProgWarp.jnlp
@@ -20,5 +20,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/WorldWindBasicDemo.jnlp b/jnlp-files/WorldWindBasicDemo.jnlp
index 358c614..0ddc6cf 100644
--- a/jnlp-files/WorldWindBasicDemo.jnlp
+++ b/jnlp-files/WorldWindBasicDemo.jnlp
@@ -23,5 +23,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/XTrans.jnlp b/jnlp-files/XTrans.jnlp
index 076808d..ae351e8 100644
--- a/jnlp-files/XTrans.jnlp
+++ b/jnlp-files/XTrans.jnlp
@@ -23,5 +23,7 @@
-
+
+ NotFirstUIActionOnProcess
+
diff --git a/jnlp-files/jogl-newt-applet-runner-angelesgl2es1.html b/jnlp-files/jogl-newt-applet-runner-angelesgl2es1.html
index 141bac6..d404db0 100644
--- a/jnlp-files/jogl-newt-applet-runner-angelesgl2es1.html
+++ b/jnlp-files/jogl-newt-applet-runner-angelesgl2es1.html
@@ -19,6 +19,13 @@
+JOGL NEWT JNLP Applet Runner Special Keys:
+
+ - d - toggle decoration
+ - f - toggle fullscreen
+ - r - in/out browser window
+
+