Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_opengl_GLES11Ext.cpp385 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
391 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
405 _env, _array, (jboolean *) 0); in getarray()
414 if (_array) { in getarray()
416 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
549 jshortArray _array = (jshortArray) 0; in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2() local
560 coords = (GLshort *)getPointer(_env, coords_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
568 char * _coordsBase = (char *)_env->GetShortArrayElements(_array, (jboolean *) 0); in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
576 if (_array) { in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
577 _env->ReleaseShortArrayElements(_array, (jshort*)coords, JNI_ABORT); in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
[all …]
Dandroid_opengl_GLES11.cpp385 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
391 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
405 _env, _array, (jboolean *) 0); in getarray()
414 if (_array) { in getarray()
416 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
441 jarray _array = (jarray) 0; in android_glBufferData__IILjava_nio_Buffer_2I() local
447 data = (GLvoid *)getPointer(_env, data_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glBufferData__IILjava_nio_Buffer_2I()
456 char * _dataBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glBufferData__IILjava_nio_Buffer_2I()
467 if (_array) { in android_glBufferData__IILjava_nio_Buffer_2I()
468 releasePointer(_env, _array, (void *)((char *)data - _bufferOffset), JNI_FALSE); in android_glBufferData__IILjava_nio_Buffer_2I()
[all …]
Dcom_google_android_gles_jni_GLImpl.cpp369 jarray _array = (jarray) 0; in android_glColorPointerBounds__IIILjava_nio_Buffer_2I() local
399 jarray _array = (jarray) 0; in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2() local
410 data = (GLvoid *)getPointer(_env, data_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
412 char * _dataBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
427 if (_array) { in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
428 releasePointer(_env, _array, (void *)((char *)data - _bufferOffset), JNI_FALSE); in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
442 jarray _array = (jarray) 0; in android_glCompressedTexSubImage2D__IIIIIIIILjava_nio_Buffer_2() local
453 data = (GLvoid *)getPointer(_env, data_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glCompressedTexSubImage2D__IIIIIIIILjava_nio_Buffer_2()
455 char * _dataBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glCompressedTexSubImage2D__IIIIIIIILjava_nio_Buffer_2()
471 if (_array) { in android_glCompressedTexSubImage2D__IIIIIIIILjava_nio_Buffer_2()
[all …]
Dandroid_opengl_GLES30.cpp385 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
391 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
405 _env, _array, (jboolean *) 0); in getarray()
414 if (_array) { in getarray()
416 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
440 jarray _array = (jarray) 0; in android_glDrawRangeElements__IIIIILjava_nio_Buffer_2() local
451 … indices = (GLvoid *)getPointer(_env, indices_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glDrawRangeElements__IIIIILjava_nio_Buffer_2()
453 char * _indicesBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glDrawRangeElements__IIIIILjava_nio_Buffer_2()
466 if (_array) { in android_glDrawRangeElements__IIIIILjava_nio_Buffer_2()
467 releasePointer(_env, _array, (void *)((char *)indices - _bufferOffset), JNI_FALSE); in android_glDrawRangeElements__IIIIILjava_nio_Buffer_2()
[all …]
Dandroid_opengl_GLES31.cpp383 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
389 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
403 _env, _array, (jboolean *) 0); in getarray()
412 if (_array) { in getarray()
414 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
532 jintArray _array = (jintArray) 0; in android_glGetFramebufferParameteriv__IILjava_nio_IntBuffer_2() local
543 params = (GLint *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glGetFramebufferParameteriv__IILjava_nio_IntBuffer_2()
545 char * _paramsBase = (char *)_env->GetIntArrayElements(_array, (jboolean *) 0); in android_glGetFramebufferParameteriv__IILjava_nio_IntBuffer_2()
555 if (_array) { in android_glGetFramebufferParameteriv__IILjava_nio_IntBuffer_2()
556 _env->ReleaseIntArrayElements(_array, (jint*)params, _exception ? JNI_ABORT : 0); in android_glGetFramebufferParameteriv__IILjava_nio_IntBuffer_2()
[all …]
Dandroid_opengl_GLES20.cpp385 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
391 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
405 _env, _array, (jboolean *) 0); in getarray()
414 if (_array) { in getarray()
416 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
576 jarray _array = (jarray) 0; in android_glBufferData__IILjava_nio_Buffer_2I() local
582 data = (GLvoid *)getPointer(_env, data_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glBufferData__IILjava_nio_Buffer_2I()
591 char * _dataBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glBufferData__IILjava_nio_Buffer_2I()
602 if (_array) { in android_glBufferData__IILjava_nio_Buffer_2I()
603 releasePointer(_env, _array, (void *)((char *)data - _bufferOffset), JNI_FALSE); in android_glBufferData__IILjava_nio_Buffer_2I()
[all …]
Dandroid_opengl_GLES32.cpp383 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
389 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
403 _env, _array, (jboolean *) 0); in getarray()
412 if (_array) { in getarray()
414 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
512 jintArray _array = (jintArray) 0; in android_glDebugMessageControl__IIIILjava_nio_IntBuffer_2Z() local
523 ids = (GLuint *)getPointer(_env, ids_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glDebugMessageControl__IIIILjava_nio_IntBuffer_2Z()
531 char * _idsBase = (char *)_env->GetIntArrayElements(_array, (jboolean *) 0); in android_glDebugMessageControl__IIIILjava_nio_IntBuffer_2Z()
544 if (_array) { in android_glDebugMessageControl__IIIILjava_nio_IntBuffer_2Z()
545 _env->ReleaseIntArrayElements(_array, (jint*)ids, JNI_ABORT); in android_glDebugMessageControl__IIIILjava_nio_IntBuffer_2Z()
[all …]
Dandroid_opengl_GLES10.cpp385 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
391 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
405 _env, _array, (jboolean *) 0); in getarray()
414 if (_array) { in getarray()
416 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
585 jarray _array = (jarray) 0; in android_glColorPointerBounds__IIILjava_nio_Buffer_2I() local
615 jarray _array = (jarray) 0; in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2() local
626 data = (GLvoid *)getPointer(_env, data_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
628 char * _dataBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
643 if (_array) { in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
[all …]
Dandroid_opengl_GLES31Ext.cpp384 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
390 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
404 _env, _array, (jboolean *) 0); in getarray()
413 if (_array) { in getarray()
415 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
484 jintArray _array = (jintArray) 0; in android_glDebugMessageControlKHR__IIIILjava_nio_IntBuffer_2Z() local
495 ids = (GLuint *)getPointer(_env, ids_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glDebugMessageControlKHR__IIIILjava_nio_IntBuffer_2Z()
497 char * _idsBase = (char *)_env->GetIntArrayElements(_array, (jboolean *) 0); in android_glDebugMessageControlKHR__IIIILjava_nio_IntBuffer_2Z()
510 if (_array) { in android_glDebugMessageControlKHR__IIIILjava_nio_IntBuffer_2Z()
511 _env->ReleaseIntArrayElements(_array, (jint*)ids, JNI_ABORT); in android_glDebugMessageControlKHR__IIIILjava_nio_IntBuffer_2Z()
[all …]
Dandroid_opengl_GLES10Ext.cpp385 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
391 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
405 _env, _array, (jboolean *) 0); in getarray()
414 if (_array) { in getarray()
416 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
Dandroid_opengl_EGL15.cpp383 jarray _array = (jarray) 0; in android_eglCreatePlatformWindowSurface() local
400 …native_window = (void *)getPointer(_env, native_window_buf, (jarray*)&_array, &_native_windowRemai… in android_eglCreatePlatformWindowSurface()
419 char * _native_windowBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_eglCreatePlatformWindowSurface()
434 if (_array) { in android_eglCreatePlatformWindowSurface()
435 releasePointer(_env, _array, native_window, _exception ? JNI_FALSE : JNI_TRUE); in android_eglCreatePlatformWindowSurface()
/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()
DglDrawElementsInstancedBaseVertex.cpp8 jarray _array = (jarray) 0; in android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II() local
13 indices = (void *)getPointer(_env, indices_buf, &_array, &_remaining, &_bufferOffset); in android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II()
21 char * _indicesBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II()
34 if (_array) { in android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II()
35 releasePointer(_env, _array, indices, JNI_FALSE); in android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II()
DglGetShaderSource.cpp70 jintArray _array = (jintArray) 0; in android_glGetShaderSource__IILjava_nio_IntBuffer_2B() local
75 length = (GLsizei *)getPointer(_env, length_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glGetShaderSource__IILjava_nio_IntBuffer_2B()
77 char * _lengthBase = (char *)_env->GetIntArrayElements(_array, (jboolean *) 0); in android_glGetShaderSource__IILjava_nio_IntBuffer_2B()
86 if (_array) { in android_glGetShaderSource__IILjava_nio_IntBuffer_2B()
87 … releaseArrayPointer<jintArray, jint*, IntArrayReleaser>(_env, _array, (jint*)length, JNI_TRUE); in android_glGetShaderSource__IILjava_nio_IntBuffer_2B()
Dcommon.cpp359 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
365 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
379 _env, _array, (jboolean *) 0); in getarray()
388 if (_array) { in getarray()
390 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
/frameworks/native/opengl/tools/glgen/stubs/egl/
DeglCreatePlatformWindowSurface.cpp8 jarray _array = (jarray) 0; in android_eglCreatePlatformWindowSurface() local
25 …native_window = (void *)getPointer(_env, native_window_buf, (jarray*)&_array, &_native_windowRemai… in android_eglCreatePlatformWindowSurface()
44 char * _native_windowBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_eglCreatePlatformWindowSurface()
59 if (_array) { in android_eglCreatePlatformWindowSurface()
60 releasePointer(_env, _array, native_window, _exception ? JNI_FALSE : JNI_TRUE); in android_eglCreatePlatformWindowSurface()