summaryrefslogtreecommitdiffstats
path: root/opengl/tools/glgen/stubs/gles11/glShaderSource.java
diff options
context:
space:
mode:
authorJack Palevich <jackpal@google.com>2009-11-19 16:34:55 +0800
committerJack Palevich <jackpal@google.com>2009-11-19 16:34:55 +0800
commit50d0b14689b0ae95ea7b66a8c2f7b955115812dd (patch)
treeef14957708c4dcf4189dd6ec1fc5b71c7c85d3da /opengl/tools/glgen/stubs/gles11/glShaderSource.java
parentd807a1053ee537f1c17c7e1b0506a6c28b038aed (diff)
downloadframeworks_native-50d0b14689b0ae95ea7b66a8c2f7b955115812dd.zip
frameworks_native-50d0b14689b0ae95ea7b66a8c2f7b955115812dd.tar.gz
frameworks_native-50d0b14689b0ae95ea7b66a8c2f7b955115812dd.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/stubs/gles11/glShaderSource.java')
-rw-r--r--opengl/tools/glgen/stubs/gles11/glShaderSource.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/opengl/tools/glgen/stubs/gles11/glShaderSource.java b/opengl/tools/glgen/stubs/gles11/glShaderSource.java
new file mode 100644
index 0000000..a9c338a
--- /dev/null
+++ b/opengl/tools/glgen/stubs/gles11/glShaderSource.java
@@ -0,0 +1,6 @@
+ // C function void glShaderSource ( GLuint shader, GLsizei count, const GLchar ** string, const GLint* length )
+
+ public static native void glShaderSource(
+ int shader,
+ String string
+ );