summaryrefslogtreecommitdiffstats
path: root/opengl/tools/glgen/stubs/gles11/glGetActiveUniform.java
diff options
context:
space:
mode:
authorThomas Tafertshofer <tafertth@google.com>2012-07-19 16:50:08 -0700
committerThomas Tafertshofer <tafertth@google.com>2012-07-19 16:58:40 -0700
commit55b4e553c8e6021cb65a9ac99857bfbf4d4f335d (patch)
tree69bd3548707c2300c76130ad16f89418a3b550a5 /opengl/tools/glgen/stubs/gles11/glGetActiveUniform.java
parentdf5cbd76224ea1facb7cfb499f4d522e55753774 (diff)
downloadframeworks_native-55b4e553c8e6021cb65a9ac99857bfbf4d4f335d.zip
frameworks_native-55b4e553c8e6021cb65a9ac99857bfbf4d4f335d.tar.gz
frameworks_native-55b4e553c8e6021cb65a9ac99857bfbf4d4f335d.tar.bz2
glgen stubs to fix bad methods in gles20 bindings
this adds correct versions of the broken GLES20 methods glGetShaderSource, glGetActiveAttrib and glGetActiveUniform. the old broken methods are still there and need to be @hide later. Bug: 6006380 Change-Id: Ide74242ada54b85459b459ae4f20cd26a23c7610
Diffstat (limited to 'opengl/tools/glgen/stubs/gles11/glGetActiveUniform.java')
-rw-r--r--opengl/tools/glgen/stubs/gles11/glGetActiveUniform.java46
1 files changed, 46 insertions, 0 deletions
diff --git a/opengl/tools/glgen/stubs/gles11/glGetActiveUniform.java b/opengl/tools/glgen/stubs/gles11/glGetActiveUniform.java
new file mode 100644
index 0000000..28aaa78
--- /dev/null
+++ b/opengl/tools/glgen/stubs/gles11/glGetActiveUniform.java
@@ -0,0 +1,46 @@
+ // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
+
+ public static native void glGetActiveUniform(
+ int program,
+ int index,
+ int bufsize,
+ int[] length,
+ int lengthOffset,
+ int[] size,
+ int sizeOffset,
+ int[] type,
+ int typeOffset,
+ byte[] name,
+ int nameOffset
+ );
+
+ // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
+
+ public static native void glGetActiveUniform(
+ int program,
+ int index,
+ int bufsize,
+ java.nio.IntBuffer length,
+ java.nio.IntBuffer size,
+ java.nio.IntBuffer type,
+ byte name
+ );
+ // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
+
+ public static native String glGetActiveUniform(
+ int program,
+ int index,
+ int[] size,
+ int sizeOffset,
+ int[] type,
+ int typeOffset
+ );
+
+ // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
+
+ public static native String glGetActiveUniform(
+ int program,
+ int index,
+ java.nio.IntBuffer size,
+ java.nio.IntBuffer type
+ );