summaryrefslogtreecommitdiffstats
path: root/make/scripts/lsGLtoES1_commons.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make/scripts/lsGLtoES1_commons.sh')
-rwxr-xr-xmake/scripts/lsGLtoES1_commons.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/make/scripts/lsGLtoES1_commons.sh b/make/scripts/lsGLtoES1_commons.sh
new file mode 100755
index 000000000..e8a370acb
--- /dev/null
+++ b/make/scripts/lsGLtoES1_commons.sh
@@ -0,0 +1,17 @@
+#! /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 GLES1 enums
+sort $idir/GL.java $idir/GLES1.java $idir/GL2ES1.java | uniq -d | grep GL_ | awk ' { print $5 } '
+
+echo GL to GL2ES1 to GLES1 functions
+sort $idir/GL.java $idir/GLES1.java $idir/GL2ES1.java | uniq -d | grep "public [a-z0-9_]* gl"
+