diff options
Diffstat (limited to 'make/scripts/lsGLtoES1ES2_commons.sh')
-rw-r--r-- | make/scripts/lsGLtoES1ES2_commons.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/make/scripts/lsGLtoES1ES2_commons.sh b/make/scripts/lsGLtoES1ES2_commons.sh new file mode 100644 index 000000000..21efb6549 --- /dev/null +++ b/make/scripts/lsGLtoES1ES2_commons.sh @@ -0,0 +1,16 @@ +#! /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 GL to GL2ES1 to GL2ES1 GL2 enums +sort $idir/GL.java $idir/GL2ES1.java $idir/GL2ES2.java $idir/GL2.java | uniq -d | grep GL_ | awk ' { print $5 } ' + +echo GL to GL2ES1 to GL2ES1 GL2 functions +sort $idir/GL.java $idir/GL2ES1.java $idir/GL2ES2.java $idir/GL2.java | uniq -d | grep "public [a-z0-9_]* gl" |