/frameworks/base/core/jni/ |
D | com_google_android_gles_jni_EGLImpl.cpp | 71 static void nativeClassInit(JNIEnv *_env, jclass eglImplClass) in nativeClassInit() argument 73 jclass config_class = _env->FindClass("com/google/android/gles_jni/EGLConfigImpl"); in nativeClassInit() 74 gConfig_class = (jclass) _env->NewGlobalRef(config_class); in nativeClassInit() 75 gConfig_ctorID = _env->GetMethodID(gConfig_class, "<init>", "(J)V"); in nativeClassInit() 76 gConfig_EGLConfigFieldID = _env->GetFieldID(gConfig_class, "mEGLConfig", "J"); in nativeClassInit() 78 jclass display_class = _env->FindClass("com/google/android/gles_jni/EGLDisplayImpl"); in nativeClassInit() 79 gDisplay_EGLDisplayFieldID = _env->GetFieldID(display_class, "mEGLDisplay", "J"); in nativeClassInit() 81 jclass context_class = _env->FindClass("com/google/android/gles_jni/EGLContextImpl"); in nativeClassInit() 82 gContext_EGLContextFieldID = _env->GetFieldID(context_class, "mEGLContext", "J"); in nativeClassInit() 84 jclass surface_class = _env->FindClass("com/google/android/gles_jni/EGLSurfaceImpl"); in nativeClassInit() [all …]
|
D | android_opengl_EGL15.cpp | 69 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit() argument 72 jclass eglconfigClassLocal = _env->FindClass("android/opengl/EGLConfig"); in nativeClassInit() 73 eglconfigClass = (jclass) _env->NewGlobalRef(eglconfigClassLocal); in nativeClassInit() 74 jclass eglcontextClassLocal = _env->FindClass("android/opengl/EGLContext"); in nativeClassInit() 75 eglcontextClass = (jclass) _env->NewGlobalRef(eglcontextClassLocal); in nativeClassInit() 76 jclass egldisplayClassLocal = _env->FindClass("android/opengl/EGLDisplay"); in nativeClassInit() 77 egldisplayClass = (jclass) _env->NewGlobalRef(egldisplayClassLocal); in nativeClassInit() 78 jclass eglsurfaceClassLocal = _env->FindClass("android/opengl/EGLSurface"); in nativeClassInit() 79 eglsurfaceClass = (jclass) _env->NewGlobalRef(eglsurfaceClassLocal); in nativeClassInit() 81 eglconfigGetHandleID = _env->GetMethodID(eglconfigClass, "getNativeHandle", "()J"); in nativeClassInit() [all …]
|
D | android_opengl_EGL14.cpp | 62 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit() argument 64 jclass egldisplayClassLocal = _env->FindClass("android/opengl/EGLDisplay"); in nativeClassInit() 65 egldisplayClass = (jclass) _env->NewGlobalRef(egldisplayClassLocal); in nativeClassInit() 66 jclass eglcontextClassLocal = _env->FindClass("android/opengl/EGLContext"); in nativeClassInit() 67 eglcontextClass = (jclass) _env->NewGlobalRef(eglcontextClassLocal); in nativeClassInit() 68 jclass eglsurfaceClassLocal = _env->FindClass("android/opengl/EGLSurface"); in nativeClassInit() 69 eglsurfaceClass = (jclass) _env->NewGlobalRef(eglsurfaceClassLocal); in nativeClassInit() 70 jclass eglconfigClassLocal = _env->FindClass("android/opengl/EGLConfig"); in nativeClassInit() 71 eglconfigClass = (jclass) _env->NewGlobalRef(eglconfigClassLocal); in nativeClassInit() 73 egldisplayGetHandleID = _env->GetMethodID(egldisplayClass, "getNativeHandle", "()J"); in nativeClassInit() [all …]
|
D | android_opengl_EGLExt.cpp | 63 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit() argument 65 jclass egldisplayClassLocal = _env->FindClass("android/opengl/EGLDisplay"); in nativeClassInit() 66 egldisplayClass = (jclass) _env->NewGlobalRef(egldisplayClassLocal); in nativeClassInit() 67 jclass eglcontextClassLocal = _env->FindClass("android/opengl/EGLContext"); in nativeClassInit() 68 eglcontextClass = (jclass) _env->NewGlobalRef(eglcontextClassLocal); in nativeClassInit() 69 jclass eglsurfaceClassLocal = _env->FindClass("android/opengl/EGLSurface"); in nativeClassInit() 70 eglsurfaceClass = (jclass) _env->NewGlobalRef(eglsurfaceClassLocal); in nativeClassInit() 71 jclass eglconfigClassLocal = _env->FindClass("android/opengl/EGLConfig"); in nativeClassInit() 72 eglconfigClass = (jclass) _env->NewGlobalRef(eglconfigClassLocal); in nativeClassInit() 74 egldisplayGetHandleID = _env->GetMethodID(egldisplayClass, "getNativeHandle", "()J"); in nativeClassInit() [all …]
|
D | android_opengl_GLES31Ext.cpp | 66 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit() argument 71 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() argument 78 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer() 86 *array = jniGetNioBufferBaseArray(_env, buffer); in getPointer() 87 *offset = jniGetNioBufferBaseArrayOffset(_env, buffer); in getPointer() 93 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) { in Get() argument 94 return _env->GetByteArrayElements(array, is_copy); in Get() 99 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) { in Get() argument 100 return _env->GetBooleanArrayElements(array, is_copy); in Get() 105 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) { in Get() argument [all …]
|
D | android_opengl_GLES20.cpp | 67 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit() argument 72 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() argument 79 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer() 87 *array = jniGetNioBufferBaseArray(_env, buffer); in getPointer() 88 *offset = jniGetNioBufferBaseArrayOffset(_env, buffer); in getPointer() 94 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) { in Get() argument 95 return _env->GetByteArrayElements(array, is_copy); in Get() 100 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) { in Get() argument 101 return _env->GetBooleanArrayElements(array, is_copy); in Get() 106 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) { in Get() argument [all …]
|
D | android_opengl_GLES30.cpp | 67 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit() argument 72 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() argument 79 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer() 87 *array = jniGetNioBufferBaseArray(_env, buffer); in getPointer() 88 *offset = jniGetNioBufferBaseArrayOffset(_env, buffer); in getPointer() 94 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) { in Get() argument 95 return _env->GetByteArrayElements(array, is_copy); in Get() 100 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) { in Get() argument 101 return _env->GetBooleanArrayElements(array, is_copy); in Get() 106 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) { in Get() argument [all …]
|
D | android_opengl_GLES11Ext.cpp | 67 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit() argument 72 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() argument 79 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer() 87 *array = jniGetNioBufferBaseArray(_env, buffer); in getPointer() 88 *offset = jniGetNioBufferBaseArrayOffset(_env, buffer); in getPointer() 94 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) { in Get() argument 95 return _env->GetByteArrayElements(array, is_copy); in Get() 100 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) { in Get() argument 101 return _env->GetBooleanArrayElements(array, is_copy); in Get() 106 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) { in Get() argument [all …]
|
D | android_opengl_GLES32.cpp | 65 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit() argument 70 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() argument 77 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer() 85 *array = jniGetNioBufferBaseArray(_env, buffer); in getPointer() 86 *offset = jniGetNioBufferBaseArrayOffset(_env, buffer); in getPointer() 92 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) { in Get() argument 93 return _env->GetByteArrayElements(array, is_copy); in Get() 98 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) { in Get() argument 99 return _env->GetBooleanArrayElements(array, is_copy); in Get() 104 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) { in Get() argument [all …]
|
D | com_google_android_gles_jni_GLImpl.cpp | 78 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit() argument 80 jclass g11impClassLocal = _env->FindClass("com/google/android/gles_jni/GLImpl"); in nativeClassInit() 81 G11ImplClass = (jclass) _env->NewGlobalRef(g11impClassLocal); in nativeClassInit() 82 haveCheckedExtensionsID = _env->GetFieldID(G11ImplClass, "haveCheckedExtensions", "Z"); in nativeClassInit() 83 …have_OES_blend_equation_separateID = _env->GetFieldID(G11ImplClass, "have_OES_blend_equation_sepa… in nativeClassInit() 84 have_OES_blend_subtractID = _env->GetFieldID(G11ImplClass, "have_OES_blend_subtract", "Z"); in nativeClassInit() 85 …have_OES_framebuffer_objectID = _env->GetFieldID(G11ImplClass, "have_OES_framebuffer_object", "Z"… in nativeClassInit() 86 have_OES_texture_cube_mapID = _env->GetFieldID(G11ImplClass, "have_OES_texture_cube_map", "Z"); in nativeClassInit() 90 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() argument 97 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer() [all …]
|
D | android_opengl_GLES10.cpp | 67 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit() argument 72 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() argument 79 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer() 87 *array = jniGetNioBufferBaseArray(_env, buffer); in getPointer() 88 *offset = jniGetNioBufferBaseArrayOffset(_env, buffer); in getPointer() 94 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) { in Get() argument 95 return _env->GetByteArrayElements(array, is_copy); in Get() 100 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) { in Get() argument 101 return _env->GetBooleanArrayElements(array, is_copy); in Get() 106 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) { in Get() argument [all …]
|
D | android_opengl_GLES31.cpp | 65 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit() argument 70 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() argument 77 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer() 85 *array = jniGetNioBufferBaseArray(_env, buffer); in getPointer() 86 *offset = jniGetNioBufferBaseArrayOffset(_env, buffer); in getPointer() 92 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) { in Get() argument 93 return _env->GetByteArrayElements(array, is_copy); in Get() 98 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) { in Get() argument 99 return _env->GetBooleanArrayElements(array, is_copy); in Get() 104 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) { in Get() argument [all …]
|
D | android_opengl_GLES11.cpp | 67 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit() argument 72 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() argument 79 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer() 87 *array = jniGetNioBufferBaseArray(_env, buffer); in getPointer() 88 *offset = jniGetNioBufferBaseArrayOffset(_env, buffer); in getPointer() 94 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) { in Get() argument 95 return _env->GetByteArrayElements(array, is_copy); in Get() 100 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) { in Get() argument 101 return _env->GetBooleanArrayElements(array, is_copy); in Get() 106 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) { in Get() argument [all …]
|
D | android_opengl_GLES10Ext.cpp | 67 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit() argument 72 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() argument 79 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer() 87 *array = jniGetNioBufferBaseArray(_env, buffer); in getPointer() 88 *offset = jniGetNioBufferBaseArrayOffset(_env, buffer); in getPointer() 94 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) { in Get() argument 95 return _env->GetByteArrayElements(array, is_copy); in Get() 100 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) { in Get() argument 101 return _env->GetBooleanArrayElements(array, is_copy); in Get() 106 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) { in Get() argument [all …]
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | EGL15cHeader.cpp | 69 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit() argument 72 jclass eglconfigClassLocal = _env->FindClass("android/opengl/EGLConfig"); in nativeClassInit() 73 eglconfigClass = (jclass) _env->NewGlobalRef(eglconfigClassLocal); in nativeClassInit() 74 jclass eglcontextClassLocal = _env->FindClass("android/opengl/EGLContext"); in nativeClassInit() 75 eglcontextClass = (jclass) _env->NewGlobalRef(eglcontextClassLocal); in nativeClassInit() 76 jclass egldisplayClassLocal = _env->FindClass("android/opengl/EGLDisplay"); in nativeClassInit() 77 egldisplayClass = (jclass) _env->NewGlobalRef(egldisplayClassLocal); in nativeClassInit() 78 jclass eglsurfaceClassLocal = _env->FindClass("android/opengl/EGLSurface"); in nativeClassInit() 79 eglsurfaceClass = (jclass) _env->NewGlobalRef(eglsurfaceClassLocal); in nativeClassInit() 81 eglconfigGetHandleID = _env->GetMethodID(eglconfigClass, "getNativeHandle", "()J"); in nativeClassInit() [all …]
|
D | EGL14cHeader.cpp | 62 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit() argument 64 jclass egldisplayClassLocal = _env->FindClass("android/opengl/EGLDisplay"); in nativeClassInit() 65 egldisplayClass = (jclass) _env->NewGlobalRef(egldisplayClassLocal); in nativeClassInit() 66 jclass eglcontextClassLocal = _env->FindClass("android/opengl/EGLContext"); in nativeClassInit() 67 eglcontextClass = (jclass) _env->NewGlobalRef(eglcontextClassLocal); in nativeClassInit() 68 jclass eglsurfaceClassLocal = _env->FindClass("android/opengl/EGLSurface"); in nativeClassInit() 69 eglsurfaceClass = (jclass) _env->NewGlobalRef(eglsurfaceClassLocal); in nativeClassInit() 70 jclass eglconfigClassLocal = _env->FindClass("android/opengl/EGLConfig"); in nativeClassInit() 71 eglconfigClass = (jclass) _env->NewGlobalRef(eglconfigClassLocal); in nativeClassInit() 73 egldisplayGetHandleID = _env->GetMethodID(egldisplayClass, "getNativeHandle", "()J"); in nativeClassInit() [all …]
|
D | EGLExtcHeader.cpp | 63 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit() argument 65 jclass egldisplayClassLocal = _env->FindClass("android/opengl/EGLDisplay"); in nativeClassInit() 66 egldisplayClass = (jclass) _env->NewGlobalRef(egldisplayClassLocal); in nativeClassInit() 67 jclass eglcontextClassLocal = _env->FindClass("android/opengl/EGLContext"); in nativeClassInit() 68 eglcontextClass = (jclass) _env->NewGlobalRef(eglcontextClassLocal); in nativeClassInit() 69 jclass eglsurfaceClassLocal = _env->FindClass("android/opengl/EGLSurface"); in nativeClassInit() 70 eglsurfaceClass = (jclass) _env->NewGlobalRef(eglsurfaceClassLocal); in nativeClassInit() 71 jclass eglconfigClassLocal = _env->FindClass("android/opengl/EGLConfig"); in nativeClassInit() 72 eglconfigClass = (jclass) _env->NewGlobalRef(eglconfigClassLocal); in nativeClassInit() 74 egldisplayGetHandleID = _env->GetMethodID(egldisplayClass, "getNativeHandle", "()J"); in nativeClassInit() [all …]
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
D | common.cpp | 42 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit() argument 47 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() argument 54 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer() 62 *array = jniGetNioBufferBaseArray(_env, buffer); in getPointer() 63 *offset = jniGetNioBufferBaseArrayOffset(_env, buffer); in getPointer() 69 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) { in Get() argument 70 return _env->GetByteArrayElements(array, is_copy); in Get() 75 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) { in Get() argument 76 return _env->GetBooleanArrayElements(array, is_copy); in Get() 81 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) { in Get() argument [all …]
|
D | glGetTransformFeedbackVarying.cpp | 4 …(JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jintArray length_ref, jint l… in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI() argument 28 _lengthRemaining = _env->GetArrayLength(length_ref) - lengthOffset; in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI() 30 _env->GetIntArrayElements(length_ref, (jboolean *)0); in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI() 46 _sizeRemaining = _env->GetArrayLength(size_ref) - sizeOffset; in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI() 48 _env->GetIntArrayElements(size_ref, (jboolean *)0); in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI() 63 _typeRemaining = _env->GetArrayLength(type_ref) - typeOffset; in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI() 65 _env->GetIntArrayElements(type_ref, (jboolean *)0); in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI() 80 _nameRemaining = _env->GetArrayLength(name_ref) - nameOffset; in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI() 82 _env->GetByteArrayElements(name_ref, (jboolean *)0); in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI() 97 _env->ReleaseByteArrayElements(name_ref, (jbyte*)name_base, in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI() [all …]
|
D | glGetActiveAttrib.cpp | 4 …(JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jintArray length_ref, jint l… in android_glGetActiveAttrib__III_3II_3II_3II_3BI() argument 28 _lengthRemaining = _env->GetArrayLength(length_ref) - lengthOffset; in android_glGetActiveAttrib__III_3II_3II_3II_3BI() 30 _env->GetIntArrayElements(length_ref, (jboolean *)0); in android_glGetActiveAttrib__III_3II_3II_3II_3BI() 46 _sizeRemaining = _env->GetArrayLength(size_ref) - sizeOffset; in android_glGetActiveAttrib__III_3II_3II_3II_3BI() 48 _env->GetIntArrayElements(size_ref, (jboolean *)0); in android_glGetActiveAttrib__III_3II_3II_3II_3BI() 63 _typeRemaining = _env->GetArrayLength(type_ref) - typeOffset; in android_glGetActiveAttrib__III_3II_3II_3II_3BI() 65 _env->GetIntArrayElements(type_ref, (jboolean *)0); in android_glGetActiveAttrib__III_3II_3II_3II_3BI() 80 _nameRemaining = _env->GetArrayLength(name_ref) - nameOffset; in android_glGetActiveAttrib__III_3II_3II_3II_3BI() 82 _env->GetByteArrayElements(name_ref, (jboolean *)0); in android_glGetActiveAttrib__III_3II_3II_3II_3BI() 97 _env->ReleaseByteArrayElements(name_ref, (jbyte*)name_base, in android_glGetActiveAttrib__III_3II_3II_3II_3BI() [all …]
|
D | glGetActiveUniform.cpp | 4 …(JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jintArray length_ref, jint l… in android_glGetActiveUniform__III_3II_3II_3II_3BI() argument 28 _lengthRemaining = _env->GetArrayLength(length_ref) - lengthOffset; in android_glGetActiveUniform__III_3II_3II_3II_3BI() 30 _env->GetIntArrayElements(length_ref, (jboolean *)0); in android_glGetActiveUniform__III_3II_3II_3II_3BI() 46 _sizeRemaining = _env->GetArrayLength(size_ref) - sizeOffset; in android_glGetActiveUniform__III_3II_3II_3II_3BI() 48 _env->GetIntArrayElements(size_ref, (jboolean *)0); in android_glGetActiveUniform__III_3II_3II_3II_3BI() 63 _typeRemaining = _env->GetArrayLength(type_ref) - typeOffset; in android_glGetActiveUniform__III_3II_3II_3II_3BI() 65 _env->GetIntArrayElements(type_ref, (jboolean *)0); in android_glGetActiveUniform__III_3II_3II_3II_3BI() 80 _nameRemaining = _env->GetArrayLength(name_ref) - nameOffset; in android_glGetActiveUniform__III_3II_3II_3II_3BI() 82 _env->GetByteArrayElements(name_ref, (jboolean *)0); in android_glGetActiveUniform__III_3II_3II_3II_3BI() 97 _env->ReleaseByteArrayElements(name_ref, (jbyte*)name_base, in android_glGetActiveUniform__III_3II_3II_3II_3BI() [all …]
|
D | glGetUniformIndices.cpp | 5 …(JNIEnv *_env, jobject _this, jint program, jobjectArray uniformNames_ref, jintArray uniformIndice… in android_glGetUniformIndices_array() argument 21 _count = _env->GetArrayLength(uniformNames_ref); in android_glGetUniformIndices_array() 24 jstring _name = (jstring)_env->GetObjectArrayElement(uniformNames_ref, _i); in android_glGetUniformIndices_array() 31 _names[_i] = _env->GetStringUTFChars(_name, 0); in android_glGetUniformIndices_array() 46 if (_env->GetArrayLength(uniformIndices_ref) - uniformIndicesOffset < _count) { in android_glGetUniformIndices_array() 52 _indices_base = (GLuint*)_env->GetIntArrayElements( in android_glGetUniformIndices_array() 60 _env->ReleaseIntArrayElements(uniformIndices_ref, (jint*)_indices_base, in android_glGetUniformIndices_array() 65 jstring _name = (jstring)_env->GetObjectArrayElement(uniformNames_ref, _i); in android_glGetUniformIndices_array() 67 _env->ReleaseStringUTFChars(_name, _names[_i]); in android_glGetUniformIndices_array() 73 jniThrowException(_env, _exceptionType, _exceptionMessage); in android_glGetUniformIndices_array() [all …]
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 66 len = _env->GetArrayLength((jfloatArray)data); \ 67 ptr = _env->GetFloatArrayElements((jfloatArray)data, flag); \ 92 _env->ReleaseFloatArrayElements((jfloatArray)data, (jfloat *)ptr, relFlag); \ 95 len = _env->GetArrayLength((jdoubleArray)data); \ 96 ptr = _env->GetDoubleArrayElements((jdoubleArray)data, flag); \ 121 _env->ReleaseDoubleArrayElements((jdoubleArray)data, (jdouble *)ptr, relFlag); \ 125 len = _env->GetArrayLength((jbyteArray)data); \ 126 ptr = _env->GetByteArrayElements((jbyteArray)data, flag); \ 151 _env->ReleaseByteArrayElements((jbyteArray)data, (jbyte*)ptr, relFlag); \ 156 len = _env->GetArrayLength((jshortArray)data); \ [all …]
|
/frameworks/rs/support/jni/ |
D | android_renderscript_RenderScript.cpp | 55 len = _env->GetArrayLength((jfloatArray)data); \ 56 ptr = _env->GetFloatArrayElements((jfloatArray)data, flag); \ 77 _env->ReleaseFloatArrayElements((jfloatArray)data, (jfloat *)ptr, relFlag); \ 80 len = _env->GetArrayLength((jdoubleArray)data); \ 81 ptr = _env->GetDoubleArrayElements((jdoubleArray)data, flag); \ 102 _env->ReleaseDoubleArrayElements((jdoubleArray)data, (jdouble *)ptr, relFlag); \ 106 len = _env->GetArrayLength((jbyteArray)data); \ 107 ptr = _env->GetByteArrayElements((jbyteArray)data, flag); \ 128 _env->ReleaseByteArrayElements((jbyteArray)data, (jbyte*)ptr, relFlag); \ 132 len = _env->GetArrayLength((jshortArray)data); \ [all …]
|
/frameworks/base/tests/JankBench/app/src/main/jni/ |
D | test.cpp | 39 jlong Java_com_android_benchmark_synthetic_TestInterface_nInit(JNIEnv *_env, jobject _this, jlong o… in Java_com_android_benchmark_synthetic_TestInterface_nInit() argument 51 void Java_com_android_benchmark_synthetic_TestInterface_nDestroy(JNIEnv *_env, jobject _this, jlong… in Java_com_android_benchmark_synthetic_TestInterface_nDestroy() argument 58 JNIEnv *_env, jobject _this, jlong _b, jlong options) { in Java_com_android_benchmark_synthetic_TestInterface_nRunPowerManagementTest() argument 64 JNIEnv *_env, jobject _this, jlong _b, jlong options) { in Java_com_android_benchmark_synthetic_TestInterface_nRunCPUHeatSoakTest() argument 70 JNIEnv *_env, jobject _this, jlong _b, jfloatArray data) { in Java_com_android_benchmark_synthetic_TestInterface_nGetData() argument 73 jsize len = _env->GetArrayLength(data); in Java_com_android_benchmark_synthetic_TestInterface_nGetData() 74 float * ptr = _env->GetFloatArrayElements(data, 0); in Java_com_android_benchmark_synthetic_TestInterface_nGetData() 78 _env->ReleaseFloatArrayElements(data, (jfloat *)ptr, 0); in Java_com_android_benchmark_synthetic_TestInterface_nGetData() 84 JNIEnv *_env, jobject _this, jlong _b) { in Java_com_android_benchmark_synthetic_TestInterface_nMemTestStart() argument 90 JNIEnv *_env, jobject _this, jlong _b, jlong opt) { in Java_com_android_benchmark_synthetic_TestInterface_nMemTestBandwidth() argument [all …]
|