aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/cmpOld2NewDups.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-02-23 14:51:06 +0100
committerSven Gothel <[email protected]>2014-02-23 14:51:06 +0100
commit3352601e0860584509adf2b76f993d03893ded4b (patch)
tree974fccc8c0eb2f5ad9d4ffd741dfc35869ed67b5 /make/scripts/cmpOld2NewDups.sh
parentf51933f0ebe9ae030c26c066e59a728ce08b8559 (diff)
parentc67de337a8aaf52e36104c3f13e273aa19d21f1f (diff)
Merge branch 'master' into stash_glyphcache
Conflicts: make/scripts/tests.sh src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java src/jogl/classes/com/jogamp/graph/curve/Region.java src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java src/jogl/classes/com/jogamp/graph/curve/opengl/Renderer.java src/jogl/classes/com/jogamp/graph/curve/opengl/TextRenderer.java src/jogl/classes/com/jogamp/graph/font/Font.java src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java src/jogl/classes/jogamp/graph/curve/text/GlyphShape.java src/jogl/classes/jogamp/graph/curve/text/GlyphString.java src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java src/jogl/classes/jogamp/graph/font/typecast/TypecastGlyph.java src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java
Diffstat (limited to 'make/scripts/cmpOld2NewDups.sh')
-rw-r--r--make/scripts/cmpOld2NewDups.sh121
1 files changed, 121 insertions, 0 deletions
diff --git a/make/scripts/cmpOld2NewDups.sh b/make/scripts/cmpOld2NewDups.sh
new file mode 100644
index 000000000..4d3e1e35a
--- /dev/null
+++ b/make/scripts/cmpOld2NewDups.sh
@@ -0,0 +1,121 @@
+#! /bin/bash
+
+dircmp=cmp-old2new
+
+GLFILES="$dircmp/GL2ES1-new.java \
+ $dircmp/GLES1-new.java \
+ $dircmp/GL2ES2-new.java \
+ $dircmp/GLES2-new.java \
+ $dircmp/GL3ES3-new.java \
+ $dircmp/GL2GL3-new.java \
+ $dircmp/GL2-new.java \
+ $dircmp/GL3-new.java \
+ $dircmp/GL3bc-new.java \
+ $dircmp/GL4ES3-new.java \
+ $dircmp/GLES3-new.java \
+ $dircmp/GL4-new.java \
+ $dircmp/GL4bc-new.java \
+ $dircmp/GL-new.java"
+
+GL4FILES="$dircmp/GL2ES2-new.java \
+ $dircmp/GL2ES3-new.java \
+ $dircmp/GL3ES3-new.java \
+ $dircmp/GL3-new.java \
+ $dircmp/GL4ES3-new.java \
+ $dircmp/GL4-new.java \
+ $dircmp/GL-new.java"
+
+GLES3FILES="$dircmp/GL2ES2-new.java \
+ $dircmp/GL2ES3-new.java \
+ $dircmp/GL3ES3-new.java \
+ $dircmp/GL4ES3-new.java \
+ $dircmp/GLES3-new.java \
+ $dircmp/GL-new.java"
+
+GLES1FILES="$dircmp/GL2ES1-new.java \
+ $dircmp/GLES1-new.java \
+ $dircmp/GL-new.java"
+
+GLES2FILES="$dircmp/GL2ES2-new.java \
+ $dircmp/GLES2-new.java \
+ $dircmp/GL-new.java"
+
+GL2ES2FILES="$dircmp/GL2ES2-new.java \
+ $dircmp/GLES2-new.java \
+ $dircmp/GL2-new.java \
+ $dircmp/GL-new.java"
+
+GL3ES3FILES="$dircmp/GL2ES2-new.java \
+ $dircmp/GL3ES3-new.java \
+ $dircmp/GL4ES3-new.java \
+ $dircmp/GLES3-new.java \
+ $dircmp/GL3-new.java \
+ $dircmp/GL4-new.java \
+ $dircmp/GL-new.java"
+
+echo Duplicates GL GL2ES1 GL2ES2 GL2GL3 GL3 GL3bc GL4 GL4bc > $dircmp/GL4Files.dups
+cat $GL4FILES | sort | uniq -d >> $dircmp/GL4Files.dups
+
+echo Duplicates GL GL2ES1 GLES1 > $dircmp/GLES1Files.dups
+cat $GLES1FILES | sort | uniq -d >> $dircmp/GLES1Files.dups
+
+echo Duplicates GL GL2ES2 GLES2 > $dircmp/GLES2Files.dups
+cat $GLES2FILES | sort | uniq -d >> $dircmp/GLES2Files.dups
+
+echo Duplicates GL GL2ES2 GL3ES3 GLES3 > $dircmp/GLES3Files.dups
+cat $GLES3FILES | sort | uniq -d >> $dircmp/GLES3Files.dups
+
+echo Duplicates GL GL2 GL2ES2 GLES2 > $dircmp/GL2ES2Files.dups
+cat $GL2ES2FILES | sort | uniq -d >> $dircmp/GL2ES2Files.dups
+
+echo Duplicates GL GL3 GL2ES2 GL2ES3 GLES3 > $dircmp/GL3ES3Files.dups
+cat $GL3ES3FILES | sort | uniq -d >> $dircmp/GL3ES3Files.dups
+
+##
+##
+
+echo Duplicates GL3ES3 GLES3 > $dircmp/GLES3-GL3ES3.dups
+cat $dircmp/GLES3-new.java $dircmp/GL3ES3-new.java | sort | uniq -d >> $dircmp/GLES3-GL3ES3.dups
+
+echo Diff GL3ES3 GLES3 > $dircmp/GLES3-GL3ES3.diff
+diff -Nurdw $dircmp/GLES3-new.java $dircmp/GL3ES3-new.java >> $dircmp/GLES3-GL3ES3.diff
+
+##
+##
+
+echo Duplicates GL2GL3 GLES3 > $dircmp/GLES3-GL2GL3.dups
+cat $dircmp/GLES3-new.java $dircmp/GL2GL3-new.java | sort | uniq -d >> $dircmp/GLES3-GL2GL3.dups
+
+echo Diff GL2GL3 GLES3 > $dircmp/GLES3-GL2GL3.diff
+diff -Nurdw $dircmp/GLES3-new.java $dircmp/GL2GL3-new.java >> $dircmp/GLES3-GL2GL3.diff
+
+##
+##
+
+echo Duplicates GL2ES2 GLES3 > $dircmp/GLES3-GL2ES2.dups
+cat $dircmp/GLES3-new.java $dircmp/GL2ES2-new.java | sort | uniq -d >> $dircmp/GLES3-GL2ES2.dups
+
+echo Diff GL2ES2 GLES3 > $dircmp/GLES3-GL2ES2.diff
+diff -Nurdw $dircmp/GLES3-new.java $dircmp/GL2ES2-new.java >> $dircmp/GLES3-GL2ES2.diff
+
+##
+##
+
+echo Duplicates GL2GL3 GL3ES3 > $dircmp/GL3ES3-GL2GL3.dups
+cat $dircmp/GL3ES3-new.java $dircmp/GL2GL3-new.java | sort | uniq -d >> $dircmp/GL3ES3-GL2GL3.dups
+
+echo Diff GL2GL3 GL3ES3 > $dircmp/GL3ES3-GL2GL3.diff
+diff -Nurdw $dircmp/GL3ES3-new.java $dircmp/GL2GL3-new.java >> $dircmp/GL3ES3-GL2GL3.diff
+
+##
+##
+
+echo Duplicates GL2ES2 GL3ES3 > $dircmp/GL3ES3-GL2ES2.dups
+cat $dircmp/GL3ES3-new.java $dircmp/GL2ES2-new.java | sort | uniq -d >> $dircmp/GL3ES3-GL2ES2.dups
+
+echo Diff GL2ES2 GL3ES3 > $dircmp/GL3ES3-GL2ES2.diff
+diff -Nurdw $dircmp/GL3ES3-new.java $dircmp/GL2ES2-new.java >> $dircmp/GL3ES3-GL2ES2.diff
+
+##
+##
+