diff options
author | Sven Gothel <[email protected]> | 2010-04-29 17:42:21 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-04-29 17:42:21 +0200 |
commit | 9bdcb54bc88788c1c3bea1bb76955f81ed3db3f7 (patch) | |
tree | 70938e455264ae212fc461345f7da83e7b5e75db /make/scripts/lsGL23toGL2ES1_commons.sh | |
parent | 14256647c8954bb8d6d2afa88927e75783bc912b (diff) |
cleanup scripts ; updated win32 and win64 scripts with my environment
Diffstat (limited to 'make/scripts/lsGL23toGL2ES1_commons.sh')
-rw-r--r-- | make/scripts/lsGL23toGL2ES1_commons.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/make/scripts/lsGL23toGL2ES1_commons.sh b/make/scripts/lsGL23toGL2ES1_commons.sh new file mode 100644 index 000000000..83a543b3c --- /dev/null +++ b/make/scripts/lsGL23toGL2ES1_commons.sh @@ -0,0 +1,18 @@ +#! /bin/sh + +BUILDDIR=$1 +shift +if [ -z "$BUILDDIR" ] ; then + echo "usage $0 <BUILDDIR>" + exit 1 +fi + +idir=$BUILDDIR/jogl/gensrc/classes/javax/media/opengl + +echo GL2GL3 to GL2ES1 enums +# sort $idir/GL2.java $idir/GL3.java $idir/GL2ES1.java $idir/GL2GL3.java | uniq -d | grep GL_ | awk ' { print $5 } ' +sort $idir/GL2.java $idir/GL3.java $idir/GL2ES1.java $idir/GL2GL3.java | uniq -d | grep GL_ | grep -v "Part of <code>" + +echo GL2GL3 to GL2ES1 functions +# sort $idir/GL2.java $idir/GL3.java $idir/GL2ES1.java $idir/GL2GL3.java | uniq -d | grep "public [a-z0-9_]* gl" +sort $idir/GL2.java $idir/GL3.java $idir/GL2ES1.java $idir/GL2GL3.java | uniq -d | grep "public [a-z0-9_]* gl" |