aboutsummaryrefslogtreecommitdiffstats
path: root/make/lsGL2toGL3_unique.sh
diff options
context:
space:
mode:
authorsg215889 <[email protected]>2009-07-29 06:27:46 -0700
committersg215889 <[email protected]>2009-07-29 06:27:46 -0700
commitb5ce9cce6223810c6df7b66cf1a51318309fdc90 (patch)
treeb43116500cc26a53545d571972aa29c0711670c0 /make/lsGL2toGL3_unique.sh
parentb00c6b4d36d60bc3a29a4458e42fb29c9a9ca941 (diff)
Fixed GL* documentation. Moved common GL functions to GLBase. Moved glAllocateMemoryNV to GL2GL3 only. Add GL2GL3 interface. Fix some GL2 signatures. BroadcomEGL disable custom setSize().
Diffstat (limited to 'make/lsGL2toGL3_unique.sh')
-rw-r--r--make/lsGL2toGL3_unique.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/make/lsGL2toGL3_unique.sh b/make/lsGL2toGL3_unique.sh
new file mode 100644
index 000000000..20d821332
--- /dev/null
+++ b/make/lsGL2toGL3_unique.sh
@@ -0,0 +1,16 @@
+#! /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 GL2 to GL3 enums
+sort $idir/GL2.java $idir/GL3.java $idir/GL2ES2.java $idir/GL2GL3.java | uniq -u | grep GL_ | awk ' { print $5 } '
+
+echo GL2 to GL3 functions
+sort $idir/GL2.java $idir/GL3.java $idir/GL2ES2.java $idir/GL2GL3.java | uniq -u | grep "public [a-z0-9_]* gl"