replicant-frameworks_native/opengl/tools/glgen/stubs/gles11/glGetActiveAttrib.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

48 lines
1.4 KiB
Java

// C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
public static native void glGetActiveAttrib(
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 glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
public static native void glGetActiveAttrib(
int program,
int index,
int bufsize,
java.nio.IntBuffer length,
java.nio.IntBuffer size,
java.nio.IntBuffer type,
byte name
);
// C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
public static native String glGetActiveAttrib(
int program,
int index,
int[] size,
int sizeOffset,
int[] type,
int typeOffset
);
// C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
public static native String glGetActiveAttrib(
int program,
int index,
java.nio.IntBuffer size,
java.nio.IntBuffer type
);