Home
last modified time | relevance | path

Searched refs:_array (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/jni/
Dandroid_opengl_GLES11Ext.cpp406 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
412 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
426 _env, _array, (jboolean *) 0); in getarray()
435 if (_array) { in getarray()
437 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
570 jshortArray _array = (jshortArray) 0; in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2() local
575 coords = (GLshort *)getPointer(_env, coords_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
583 char * _coordsBase = (char *)_env->GetShortArrayElements(_array, (jboolean *) 0); in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
591 if (_array) { in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
592 _env->ReleaseShortArrayElements(_array, (jshort*)coords, JNI_ABORT); in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
[all …]
Dandroid_opengl_GLES11.cpp406 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
412 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
426 _env, _array, (jboolean *) 0); in getarray()
435 if (_array) { in getarray()
437 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
462 jarray _array = (jarray) 0; in android_glBufferData__IILjava_nio_Buffer_2I() local
468 data = (GLvoid *)getPointer(_env, data_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glBufferData__IILjava_nio_Buffer_2I()
477 char * _dataBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glBufferData__IILjava_nio_Buffer_2I()
488 if (_array) { in android_glBufferData__IILjava_nio_Buffer_2I()
489 releasePointer(_env, _array, data, JNI_FALSE); in android_glBufferData__IILjava_nio_Buffer_2I()
[all …]
Dandroid_opengl_GLES30.cpp406 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
412 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
426 _env, _array, (jboolean *) 0); in getarray()
435 if (_array) { in getarray()
437 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
458 jarray _array = (jarray) 0; in android_glDrawRangeElements__IIIIILjava_nio_Buffer_2() local
463 … indices = (GLvoid *)getPointer(_env, indices_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glDrawRangeElements__IIIIILjava_nio_Buffer_2()
465 char * _indicesBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glDrawRangeElements__IIIIILjava_nio_Buffer_2()
476 if (_array) { in android_glDrawRangeElements__IIIIILjava_nio_Buffer_2()
477 releasePointer(_env, _array, indices, JNI_FALSE); in android_glDrawRangeElements__IIIIILjava_nio_Buffer_2()
[all …]
Dcom_google_android_gles_jni_GLImpl.cpp423 jarray _array = (jarray) 0; in android_glColorPointerBounds__IIILjava_nio_Buffer_2I() local
447 jarray _array = (jarray) 0; in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2() local
452 data = (GLvoid *)getPointer(_env, data_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
454 char * _dataBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
467 if (_array) { in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
468 releasePointer(_env, _array, data, JNI_FALSE); in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
476 jarray _array = (jarray) 0; in android_glCompressedTexSubImage2D__IIIIIIIILjava_nio_Buffer_2() local
481 data = (GLvoid *)getPointer(_env, data_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glCompressedTexSubImage2D__IIIIIIIILjava_nio_Buffer_2()
483 char * _dataBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glCompressedTexSubImage2D__IIIIIIIILjava_nio_Buffer_2()
497 if (_array) { in android_glCompressedTexSubImage2D__IIIIIIIILjava_nio_Buffer_2()
[all …]
Dandroid_opengl_GLES31.cpp404 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
410 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
424 _env, _array, (jboolean *) 0); in getarray()
433 if (_array) { in getarray()
435 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
550 jintArray _array = (jintArray) 0; in android_glGetFramebufferParameteriv__IILjava_nio_IntBuffer_2() local
555 params = (GLint *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glGetFramebufferParameteriv__IILjava_nio_IntBuffer_2()
557 char * _paramsBase = (char *)_env->GetIntArrayElements(_array, (jboolean *) 0); in android_glGetFramebufferParameteriv__IILjava_nio_IntBuffer_2()
565 if (_array) { in android_glGetFramebufferParameteriv__IILjava_nio_IntBuffer_2()
566 _env->ReleaseIntArrayElements(_array, (jint*)params, 0); in android_glGetFramebufferParameteriv__IILjava_nio_IntBuffer_2()
[all …]
Dandroid_opengl_GLES20.cpp406 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
412 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
426 _env, _array, (jboolean *) 0); in getarray()
435 if (_array) { in getarray()
437 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
597 jarray _array = (jarray) 0; in android_glBufferData__IILjava_nio_Buffer_2I() local
603 data = (GLvoid *)getPointer(_env, data_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glBufferData__IILjava_nio_Buffer_2I()
612 char * _dataBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glBufferData__IILjava_nio_Buffer_2I()
623 if (_array) { in android_glBufferData__IILjava_nio_Buffer_2I()
624 releasePointer(_env, _array, data, JNI_FALSE); in android_glBufferData__IILjava_nio_Buffer_2I()
[all …]
Dandroid_opengl_GLES10.cpp406 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
412 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
426 _env, _array, (jboolean *) 0); in getarray()
435 if (_array) { in getarray()
437 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
603 jarray _array = (jarray) 0; in android_glColorPointerBounds__IIILjava_nio_Buffer_2I() local
627 jarray _array = (jarray) 0; in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2() local
632 data = (GLvoid *)getPointer(_env, data_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
634 char * _dataBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
647 if (_array) { in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
[all …]
Dandroid_opengl_GLES31Ext.cpp405 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
411 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
425 _env, _array, (jboolean *) 0); in getarray()
434 if (_array) { in getarray()
436 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
502 jintArray _array = (jintArray) 0; in android_glDebugMessageControlKHR__IIIILjava_nio_IntBuffer_2Z() local
507 ids = (GLuint *)getPointer(_env, ids_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glDebugMessageControlKHR__IIIILjava_nio_IntBuffer_2Z()
509 char * _idsBase = (char *)_env->GetIntArrayElements(_array, (jboolean *) 0); in android_glDebugMessageControlKHR__IIIILjava_nio_IntBuffer_2Z()
520 if (_array) { in android_glDebugMessageControlKHR__IIIILjava_nio_IntBuffer_2Z()
521 _env->ReleaseIntArrayElements(_array, (jint*)ids, JNI_ABORT); in android_glDebugMessageControlKHR__IIIILjava_nio_IntBuffer_2Z()
[all …]
Dandroid_opengl_GLES10Ext.cpp406 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
412 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
426 _env, _array, (jboolean *) 0); in getarray()
435 if (_array) { in getarray()
437 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
/frameworks/native/opengl/tools/glgen/stubs/gles11/
DglDrawElementsInstanced.cpp5 jarray _array = (jarray) 0; in android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I() local
10 indices = (GLvoid *)getPointer(_env, indices_buf, &_array, &_remaining, &_bufferOffset); in android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I()
12 char * _indicesBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I()
22 if (_array) { in android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I()
23 releasePointer(_env, _array, indices, JNI_FALSE); in android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I()
DglGetShaderSource.cpp74 jintArray _array = (jintArray) 0; in android_glGetShaderSource__IILjava_nio_IntBuffer_2B() local
79 length = (GLsizei *)getPointer(_env, length_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glGetShaderSource__IILjava_nio_IntBuffer_2B()
81 char * _lengthBase = (char *)_env->GetIntArrayElements(_array, (jboolean *) 0); in android_glGetShaderSource__IILjava_nio_IntBuffer_2B()
90 if (_array) { in android_glGetShaderSource__IILjava_nio_IntBuffer_2B()
91 … releaseArrayPointer<jintArray, jint*, IntArrayReleaser>(_env, _array, (jint*)length, JNI_TRUE); in android_glGetShaderSource__IILjava_nio_IntBuffer_2B()
Dcommon.cpp380 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
386 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
400 _env, _array, (jboolean *) 0); in getarray()
409 if (_array) { in getarray()
411 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()