Hi,
I'm writing an abstract API layer for OpenGL ES 3.x, the layer is fully compatible with Android's OpenGL ES API.
Compared to Android API, functions below seems missing:
OpenGL ES 3.0:
// C function void glGetBufferPointerv ( GLenum target, GLenum pname, GLvoid** params )
/**
* The {@link java.nio.Buffer} instance returned by this method is guaranteed
* to be an instance of {@link java.nio.ByteBuffer}.
*/
public static native java.nio.Buffer glGetBufferPointerv(
int target,
int pname
);
OpenGL ES 3.2:
// C function void glGetPointerv ( GLenum pname, void **params )
public static native long glGetPointerv(
int pname
);
// C function void glDebugMessageCallback ( GLDEBUGPROC callback, const void *userParam )
public interface DebugProc {
void onMessage(int source, int type, int id, int severity, String message);
}
public static native void glDebugMessageCallback(DebugProc callback);