From 9bdcb54bc88788c1c3bea1bb76955f81ed3db3f7 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 29 Apr 2010 17:42:21 +0200 Subject: cleanup scripts ; updated win32 and win64 scripts with my environment --- make/scripts/lsGLtoES2_commons.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 make/scripts/lsGLtoES2_commons.sh (limited to 'make/scripts/lsGLtoES2_commons.sh') diff --git a/make/scripts/lsGLtoES2_commons.sh b/make/scripts/lsGLtoES2_commons.sh new file mode 100644 index 000000000..bbd0e239c --- /dev/null +++ b/make/scripts/lsGLtoES2_commons.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +BUILDDIR=$1 +shift +if [ -z "$BUILDDIR" ] ; then + echo "usage $0 " + exit 1 +fi + +idir=$BUILDDIR/jogl/gensrc/classes/javax/media/opengl + +echo GL to GL2ES2 to GLES2 enums +sort $idir/GL.java $idir/GLES2.java $idir/GL2ES2.java | uniq -d | grep GL_ | awk ' { print $5 } ' + +echo GL to GL2ES2 to GLES2 functions +sort $idir/GL.java $idir/GLES2.java $idir/GL2ES2.java | uniq -d | grep "public [a-z0-9_]* gl" -- cgit v1.2.3