aboutsummaryrefslogtreecommitdiffstats
path: root/tools/jackpotc/jogl1Tojogl2.hint
diff options
context:
space:
mode:
authorJOGAMP DEV TEAM <[email protected]>2010-04-22 21:12:36 -0400
committerJOGAMP DEV TEAM <[email protected]>2010-04-22 21:12:36 -0400
commit1d889ddc4728d1534e310b44fad74a2932d22d39 (patch)
tree4ad0c3eeb3ef728522ac9459eb12c667301a0c32 /tools/jackpotc/jogl1Tojogl2.hint
parent8790075f074013aa3c71b96993838cf1117275f1 (diff)
parenta588326d206ff32e5ff5db97560851cb9b826022 (diff)
Merge branch 'master' of github.com:sgothel/jogl
Diffstat (limited to 'tools/jackpotc/jogl1Tojogl2.hint')
-rw-r--r--tools/jackpotc/jogl1Tojogl2.hint22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/jackpotc/jogl1Tojogl2.hint b/tools/jackpotc/jogl1Tojogl2.hint
new file mode 100644
index 000000000..9352c959e
--- /dev/null
+++ b/tools/jackpotc/jogl1Tojogl2.hint
@@ -0,0 +1,22 @@
+// rules for automatic jogl 1.1.1 -> jogl 2 refactorings
+
+//'JOGL2 API change: javax.media.opengl.GLCanvas -> javax.media.opengl.awt.GLCanvas':
+//javax.media.opengl.GLCanvas=>javax.media.opengl.awt.GLCanvas;;
+
+//'JOGL2 API change: javax.media.opengl.GLJPanel -> javax.media.opengl.awt.GLJPanel':
+//javax.media.opengl.GLJPanel=>javax.media.opengl.awt.GLJPanel;;
+
+'JOGL2 API change: javax.media.opengl.GL -> javax.media.opengl.GL2':
+javax.media.opengl.GL=>javax.media.opengl.GL2;;
+
+'JOGL2 API change: new javax.media.opengl.GLCapabilities(javax.media.opengl.GLProfile)':
+new javax.media.opengl.GLCapabilities()=>
+new javax.media.opengl.GLCapabilities(javax.media.opengl.GLProfile.get(javax.media.opengl.GLProfile.GL2));;
+
+'JOGL2 API change: GL gl = drawable.getGL() -> GL2 gl = drawable.getGL().getGL2()':
+$d.getGL() :: $d instanceof javax.media.opengl.GLAutoDrawable=>
+$d.getGL().getGL2();;
+
+//public void init($D $drawable)=>
+//public void dispose(GLAutoDrawable drawable){}
+//public void init($D $drawable);;