aboutsummaryrefslogtreecommitdiffstats
path: root/make/lsGLtoES2_commons.sh
blob: bbd0e239cc1794dd6f0005f7135681396b941c2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 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"