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
26 lines
748 B
Java
26 lines
748 B
Java
// C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source )
|
|
|
|
public static native void glGetShaderSource(
|
|
int shader,
|
|
int bufsize,
|
|
int[] length,
|
|
int lengthOffset,
|
|
byte[] source,
|
|
int sourceOffset
|
|
);
|
|
|
|
// C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source )
|
|
|
|
public static native void glGetShaderSource(
|
|
int shader,
|
|
int bufsize,
|
|
java.nio.IntBuffer length,
|
|
byte source
|
|
);
|
|
|
|
// C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source )
|
|
|
|
public static native String glGetShaderSource(
|
|
int shader
|
|
);
|