replicant-frameworks_native/opengl/tools/glgen/stubs/gles11/glGetShaderSource.java
Thomas Tafertshofer 55b4e553c8 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
2012-07-19 16:58:40 -07:00

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
);