summaryrefslogtreecommitdiffstats
path: root/make/scripts/lsGL23_commons.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make/scripts/lsGL23_commons.sh')
-rwxr-xr-xmake/scripts/lsGL23_commons.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/make/scripts/lsGL23_commons.sh b/make/scripts/lsGL23_commons.sh
new file mode 100755
index 000000000..cab55639b
--- /dev/null
+++ b/make/scripts/lsGL23_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
+
+SOURCE="$idir/GL.java $idir/GL2ES2.java $idir/GL2GL3.java $idir/GL3.java"
+
+echo GL GL2ES2 GL2GL3 GL3 defines
+sort $SOURCE | uniq -d | grep GL_ | grep -v "Part of <code>"
+
+echo GL GL2ES2 GL2GL3 GL3 functions
+sort $SOURCE | uniq -d | grep "public [a-z0-9_]* gl"