aboutsummaryrefslogtreecommitdiffstats
path: root/make/lsGL23_unique.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-08-05 15:49:50 -0700
committerSven Gothel <[email protected]>2009-08-05 15:49:50 -0700
commit85c9f961226f017a34b31031bb37ca25c0d906c6 (patch)
tree44c3b6f2503d91f3109a4417d41047ab14a2fe8c /make/lsGL23_unique.sh
parent0e998e8416b38b084b517c299061856b7ff963d7 (diff)
Unify GL: glUnmapBuffer, glBlend*, glGenerateMipmap; Analyze script for collisions: lsGL23_commons.shOpenGL_3_2_Integrated
Diffstat (limited to 'make/lsGL23_unique.sh')
-rw-r--r--make/lsGL23_unique.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/make/lsGL23_unique.sh b/make/lsGL23_unique.sh
new file mode 100644
index 000000000..e21112ecc
--- /dev/null
+++ b/make/lsGL23_unique.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/GLES2.java $idir/GL2ES2.java $idir/GL3.java $idir/GL2.java $idir/GL2GL3.java"
+
+echo GL2GL3 to GL2 GL3 Gl2ES2 GLES2 GL defines
+sort $SOURCE | uniq -u | grep GL_ | grep -v "Part of <code>" | awk ' { print $5 } '
+
+echo GL2GL3 to GL2 GL3 Gl2ES2 GLES2 GL functions
+sort $SOURCE | uniq -u | grep "public [a-z0-9_]* gl"