diff options
author | Sven Gothel <[email protected]> | 2010-04-22 20:40:27 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-04-22 20:40:27 +0200 |
commit | 26b0449cbc7db9961af92397f79e2b85f79ddb24 (patch) | |
tree | 3fa20ff1dedb8b3ba644f47ed44c2cd52914cec5 /tools/jackpotc/jogl1Tojogl2.hint | |
parent | 848df0f3b4d2cd27e03fc25c424759b870c6514b (diff) | |
parent | 8db5ff430a08ec18bfd947d7aee1c6d298d0d662 (diff) |
Merge branch 'master' of github.com:mbien/jogl
Diffstat (limited to 'tools/jackpotc/jogl1Tojogl2.hint')
-rw-r--r-- | tools/jackpotc/jogl1Tojogl2.hint | 22 |
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);; |