From a959c53b7ac91e489bf0959391e892790b9ff248 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Mon, 15 Jun 2009 22:57:38 +0000 Subject: Copied JOGL_2_SANDBOX r1957 on to trunk; JOGL_2_SANDBOX branch is now closed git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1959 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/lsGLtoES2_commons.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 make/lsGLtoES2_commons.sh (limited to 'make/lsGLtoES2_commons.sh') diff --git a/make/lsGLtoES2_commons.sh b/make/lsGLtoES2_commons.sh new file mode 100644 index 000000000..bbd0e239c --- /dev/null +++ b/make/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