Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_opengl_GLES11Ext.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()
548 jshortArray _array = (jshortArray) 0; in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2() local
559 coords = (GLshort *)getPointer(_env, coords_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
567 char * _coordsBase = (char *)_env->GetShortArrayElements(_array, (jboolean *) 0); in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
575 if (_array) { in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
576 _env->ReleaseShortArrayElements(_array, (jshort*)coords, JNI_ABORT); in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
[all …]
Dandroid_opengl_GLES11.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()
440 jarray _array = (jarray) 0; in android_glBufferData__IILjava_nio_Buffer_2I() local
446 data = (GLvoid *)getPointer(_env, data_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glBufferData__IILjava_nio_Buffer_2I()
455 char * _dataBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glBufferData__IILjava_nio_Buffer_2I()
466 if (_array) { in android_glBufferData__IILjava_nio_Buffer_2I()
467 releasePointer(_env, _array, (void *)((char *)data - _bufferOffset), JNI_FALSE); in android_glBufferData__IILjava_nio_Buffer_2I()
[all …]
Dcom_google_android_gles_jni_GLImpl.cpp368 jarray _array = (jarray) 0; in android_glColorPointerBounds__IIILjava_nio_Buffer_2I() local
398 jarray _array = (jarray) 0; in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2() local
409 data = (GLvoid *)getPointer(_env, data_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
411 char * _dataBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
426 if (_array) { in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
427 releasePointer(_env, _array, (void *)((char *)data - _bufferOffset), JNI_FALSE); in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
441 jarray _array = (jarray) 0; in android_glCompressedTexSubImage2D__IIIIIIIILjava_nio_Buffer_2() local
452 data = (GLvoid *)getPointer(_env, data_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glCompressedTexSubImage2D__IIIIIIIILjava_nio_Buffer_2()
454 char * _dataBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glCompressedTexSubImage2D__IIIIIIIILjava_nio_Buffer_2()
470 if (_array) { in android_glCompressedTexSubImage2D__IIIIIIIILjava_nio_Buffer_2()
[all …]
Dandroid_opengl_GLES30.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()
439 jarray _array = (jarray) 0; in android_glDrawRangeElements__IIIIILjava_nio_Buffer_2() local
450 … indices = (GLvoid *)getPointer(_env, indices_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glDrawRangeElements__IIIIILjava_nio_Buffer_2()
452 char * _indicesBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glDrawRangeElements__IIIIILjava_nio_Buffer_2()
465 if (_array) { in android_glDrawRangeElements__IIIIILjava_nio_Buffer_2()
466 releasePointer(_env, _array, (void *)((char *)indices - _bufferOffset), JNI_FALSE); in android_glDrawRangeElements__IIIIILjava_nio_Buffer_2()
[all …]
Dandroid_opengl_GLES31.cpp382 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
388 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
402 _env, _array, (jboolean *) 0); in getarray()
411 if (_array) { in getarray()
413 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
531 jintArray _array = (jintArray) 0; in android_glGetFramebufferParameteriv__IILjava_nio_IntBuffer_2() local
542 params = (GLint *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glGetFramebufferParameteriv__IILjava_nio_IntBuffer_2()
544 char * _paramsBase = (char *)_env->GetIntArrayElements(_array, (jboolean *) 0); in android_glGetFramebufferParameteriv__IILjava_nio_IntBuffer_2()
554 if (_array) { in android_glGetFramebufferParameteriv__IILjava_nio_IntBuffer_2()
555 _env->ReleaseIntArrayElements(_array, (jint*)params, _exception ? JNI_ABORT : 0); in android_glGetFramebufferParameteriv__IILjava_nio_IntBuffer_2()
[all …]
Dandroid_opengl_GLES20.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()
575 jarray _array = (jarray) 0; in android_glBufferData__IILjava_nio_Buffer_2I() local
581 data = (GLvoid *)getPointer(_env, data_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glBufferData__IILjava_nio_Buffer_2I()
590 char * _dataBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glBufferData__IILjava_nio_Buffer_2I()
601 if (_array) { in android_glBufferData__IILjava_nio_Buffer_2I()
602 releasePointer(_env, _array, (void *)((char *)data - _bufferOffset), JNI_FALSE); in android_glBufferData__IILjava_nio_Buffer_2I()
[all …]
Dandroid_opengl_GLES32.cpp382 JTYPEARRAY _array = (JTYPEARRAY) 0; in getarray() local
388 params = (CTYPE *)getPointer(_env, params_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in getarray()
402 _env, _array, (jboolean *) 0); in getarray()
411 if (_array) { in getarray()
413 _env, _array, (NTYPEARRAY)params, _exception ? JNI_FALSE : JNI_TRUE); in getarray()
511 jintArray _array = (jintArray) 0; in android_glDebugMessageControl__IIIILjava_nio_IntBuffer_2Z() local
522 ids = (GLuint *)getPointer(_env, ids_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glDebugMessageControl__IIIILjava_nio_IntBuffer_2Z()
530 char * _idsBase = (char *)_env->GetIntArrayElements(_array, (jboolean *) 0); in android_glDebugMessageControl__IIIILjava_nio_IntBuffer_2Z()
543 if (_array) { in android_glDebugMessageControl__IIIILjava_nio_IntBuffer_2Z()
544 _env->ReleaseIntArrayElements(_array, (jint*)ids, JNI_ABORT); in android_glDebugMessageControl__IIIILjava_nio_IntBuffer_2Z()
[all …]
Dandroid_opengl_GLES10.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()
584 jarray _array = (jarray) 0; in android_glColorPointerBounds__IIILjava_nio_Buffer_2I() local
614 jarray _array = (jarray) 0; in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2() local
625 data = (GLvoid *)getPointer(_env, data_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
627 char * _dataBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
642 if (_array) { in android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2()
[all …]
Dandroid_opengl_GLES31Ext.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()
483 jintArray _array = (jintArray) 0; in android_glDebugMessageControlKHR__IIIILjava_nio_IntBuffer_2Z() local
494 ids = (GLuint *)getPointer(_env, ids_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glDebugMessageControlKHR__IIIILjava_nio_IntBuffer_2Z()
496 char * _idsBase = (char *)_env->GetIntArrayElements(_array, (jboolean *) 0); in android_glDebugMessageControlKHR__IIIILjava_nio_IntBuffer_2Z()
509 if (_array) { in android_glDebugMessageControlKHR__IIIILjava_nio_IntBuffer_2Z()
510 _env->ReleaseIntArrayElements(_array, (jint*)ids, JNI_ABORT); in android_glDebugMessageControlKHR__IIIILjava_nio_IntBuffer_2Z()
[all …]
Dandroid_opengl_GLES10Ext.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()
Dandroid_opengl_EGL15.cpp382 jarray _array = (jarray) 0; in android_eglCreatePlatformWindowSurface() local
399 …native_window = (void *)getPointer(_env, native_window_buf, (jarray*)&_array, &_native_windowRemai… in android_eglCreatePlatformWindowSurface()
418 char * _native_windowBase = (char *)_env->GetPrimitiveArrayCritical(_array, (jboolean *) 0); in android_eglCreatePlatformWindowSurface()
433 if (_array) { in android_eglCreatePlatformWindowSurface()
434 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()