55b4e553c8
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
47 lines
1.4 KiB
Java
47 lines
1.4 KiB
Java
// 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
|
|
);
|