diff options
author | Jack Palevich <jackpal@google.com> | 2009-11-19 16:34:55 +0800 |
---|---|---|
committer | Jack Palevich <jackpal@google.com> | 2009-11-19 16:34:55 +0800 |
commit | 560814f6b11abe83ff0c4ed18cac015c276b3181 (patch) | |
tree | ef52858af693f7e154514349d2f300c69e3183b0 /opengl/tools/glgen/gen | |
parent | f9cf96ae1d342b1af659041e1bc5d464126f8e49 (diff) | |
download | frameworks_base-560814f6b11abe83ff0c4ed18cac015c276b3181.zip frameworks_base-560814f6b11abe83ff0c4ed18cac015c276b3181.tar.gz frameworks_base-560814f6b11abe83ff0c4ed18cac015c276b3181.tar.bz2 |
Add a Java API for OpenGL ES 2.0.
Currently this API is hidden.
Add a test program.
Diffstat (limited to 'opengl/tools/glgen/gen')
-rwxr-xr-x | opengl/tools/glgen/gen | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opengl/tools/glgen/gen b/opengl/tools/glgen/gen index 9bff0b2..6c1a231 100755 --- a/opengl/tools/glgen/gen +++ b/opengl/tools/glgen/gen @@ -63,7 +63,7 @@ rm src/*.class pushd out > /dev/null mkdir classes -javac -d classes com/google/android/gles_jni/GLImpl.java javax/microedition/khronos/opengles/GL10.java javax/microedition/khronos/opengles/GL10Ext.java javax/microedition/khronos/opengles/GL11.java javax/microedition/khronos/opengles/GL11Ext.java javax/microedition/khronos/opengles/GL11ExtensionPack.java android/opengl/GLES10.java android/opengl/GLES10Ext.java android/opengl/GLES11.java android/opengl/GLES11Ext.java +javac -d classes com/google/android/gles_jni/GLImpl.java javax/microedition/khronos/opengles/GL10.java javax/microedition/khronos/opengles/GL10Ext.java javax/microedition/khronos/opengles/GL11.java javax/microedition/khronos/opengles/GL11Ext.java javax/microedition/khronos/opengles/GL11ExtensionPack.java android/opengl/GLES10.java android/opengl/GLES10Ext.java android/opengl/GLES11.java android/opengl/GLES11Ext.java android/opengl/GLES20.java popd > /dev/null JAVA_RESULT=$? if [ $JAVA_RESULT -ne 0 ]; then @@ -109,7 +109,7 @@ do compareGenerated ../../java/javax/microedition/khronos/opengles generated/javax/microedition/khronos/opengles $x done -for x in GLES10 GLES10Ext GLES11 GLES11Ext +for x in GLES10 GLES10Ext GLES11 GLES11Ext GLES20 do compareGenerated ../../java/android/opengl generated/android/opengl ${x}.java compareGenerated ../../../core/jni generated/C android_opengl_${x}.cpp |