aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/lsGLtoES1_commons.sh
blob: ba72ecc2343cb55a7b8771a2343fbaca80973fc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh

BUILDDIR=$1
shift
if [ -z "$BUILDDIR" ] ; then
    echo "usage $0 <BUILDDIR>"
    exit 1
fi

idir=$BUILDDIR/jogl/gensrc/classes/com/jogamp/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"