Home | History | Annotate | Download | only in gles11
      1 /* void glGetBufferPointerv ( GLenum target, GLenum pname, GLvoid** params ) */
      2 static jobject
      3 android_glGetBufferPointerv__II
      4   (JNIEnv *_env, jobject _this, jint target, jint pname) {
      5     GLint64 _mapLength;
      6     GLvoid* _p;
      7     glGetBufferParameteri64v((GLenum)target, GL_BUFFER_MAP_LENGTH, &_mapLength);
      8     glGetBufferPointerv((GLenum)target, (GLenum)pname, &_p);
      9     return _env->NewDirectByteBuffer(_p, _mapLength);
     10 }
     11 
     12