Searched defs:_env (Results 1 - 25 of 31) sorted by relevance

12

/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetString.cpp2 static jstring android_glGetString(JNIEnv* _env, jobject, jint name) { argument
4 return _env->NewStringUTF(chars);
H A DglGetProgramInfoLog.cpp4 static jstring android_glGetProgramInfoLog(JNIEnv *_env, jobject, jint shader) { argument
8 return _env->NewStringUTF("");
12 jniThrowException(_env, "java/lang/IllegalArgumentException", "out of memory");
16 jstring result = _env->NewStringUTF(buf);
H A DglGetShaderInfoLog.cpp4 static jstring android_glGetShaderInfoLog(JNIEnv *_env, jobject, jint shader) { argument
8 return _env->NewStringUTF("");
12 jniThrowException(_env, "java/lang/IllegalArgumentException", "out of memory");
16 jstring result = _env->NewStringUTF(buf);
H A DglShaderSource.cpp6 (JNIEnv *_env, jobject _this, jint shader, jstring string) {
9 jniThrowException(_env, "java/lang/IllegalArgumentException", "string == null");
13 const char* nativeString = _env->GetStringUTFChars(string, 0);
16 _env->ReleaseStringUTFChars(string, nativeString);
5 android_glShaderSource(JNIEnv *_env, jobject _this, jint shader, jstring string) argument
H A DglGetShaderSource.cpp4 (JNIEnv *_env, jobject _this, jint shader, jint bufsize, jintArray length_ref, jint lengthOffset, jbyteArray source_ref, jint sourceOffset) {
27 _lengthRemaining = _env->GetArrayLength(length_ref) - lengthOffset;
29 _env->GetPrimitiveArrayCritical(length_ref, (jboolean *)0);
44 _sourceRemaining = _env->GetArrayLength(source_ref) - sourceOffset;
46 _env->GetPrimitiveArrayCritical(source_ref, (jboolean *)0);
58 _env->ReleasePrimitiveArrayCritical(source_ref, source_base,
62 _env->ReleasePrimitiveArrayCritical(length_ref, length_base,
66 jniThrowException(_env, _exceptionType, _exceptionMessage);
73 (JNIEnv *_env, jobject _this, jint shader, jint bufsize, jobject length_buf, jbyte source) {
79 length = (GLsizei *)getPointer(_env, length_bu
3 android_glGetShaderSource__II_3II_3BI(JNIEnv *_env, jobject _this, jint shader, jint bufsize, jintArray length_ref, jint lengthOffset, jbyteArray source_ref, jint sourceOffset) argument
72 android_glGetShaderSource__IILjava_nio_IntBuffer_2B(JNIEnv *_env, jobject _this, jint shader, jint bufsize, jobject length_buf, jbyte source) argument
96 android_glGetShaderSource(JNIEnv *_env, jobject, jint shader) argument
[all...]
H A DGLES10ExtcHeader.cpp42 nativeClassInit(JNIEnv *_env, jclass glImplClass) argument
44 jclass nioAccessClassLocal = _env->FindClass("java/nio/NIOAccess");
45 nioAccessClass = (jclass) _env->NewGlobalRef(nioAccessClassLocal);
47 jclass bufferClassLocal = _env->FindClass("java/nio/Buffer");
48 bufferClass = (jclass) _env->NewGlobalRef(bufferClassLocal);
50 getBasePointerID = _env->GetStaticMethodID(nioAccessClass,
52 getBaseArrayID = _env->GetStaticMethodID(nioAccessClass,
54 getBaseArrayOffsetID = _env->GetStaticMethodID(nioAccessClass,
57 positionID = _env->GetFieldID(bufferClass, "position", "I");
58 limitID = _env
65 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
93 releasePointer(JNIEnv *_env, jarray array, void *data, jboolean commit) argument
[all...]
H A DGLES10cHeader.cpp55 nativeClassInit(JNIEnv *_env, jclass glImplClass) argument
57 jclass nioAccessClassLocal = _env->FindClass("java/nio/NIOAccess");
58 nioAccessClass = (jclass) _env->NewGlobalRef(nioAccessClassLocal);
60 jclass bufferClassLocal = _env->FindClass("java/nio/Buffer");
61 bufferClass = (jclass) _env->NewGlobalRef(bufferClassLocal);
63 getBasePointerID = _env->GetStaticMethodID(nioAccessClass,
65 getBaseArrayID = _env->GetStaticMethodID(nioAccessClass,
67 getBaseArrayOffsetID = _env->GetStaticMethodID(nioAccessClass,
70 positionID = _env->GetFieldID(bufferClass, "position", "I");
71 limitID = _env
77 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
104 releasePointer(JNIEnv *_env, jarray array, void *data, jboolean commit) argument
111 getDirectBufferPointer(JNIEnv *_env, jobject buffer) argument
[all...]
H A DGLES11ExtcHeader.cpp51 nativeClassInit(JNIEnv *_env, jclass glImplClass) argument
53 jclass nioAccessClassLocal = _env->FindClass("java/nio/NIOAccess");
54 nioAccessClass = (jclass) _env->NewGlobalRef(nioAccessClassLocal);
56 jclass bufferClassLocal = _env->FindClass("java/nio/Buffer");
57 bufferClass = (jclass) _env->NewGlobalRef(bufferClassLocal);
59 getBasePointerID = _env->GetStaticMethodID(nioAccessClass,
61 getBaseArrayID = _env->GetStaticMethodID(nioAccessClass,
63 getBaseArrayOffsetID = _env->GetStaticMethodID(nioAccessClass,
66 positionID = _env->GetFieldID(bufferClass, "position", "I");
67 limitID = _env
74 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
101 releasePointer(JNIEnv *_env, jarray array, void *data, jboolean commit) argument
108 getDirectBufferPointer(JNIEnv *_env, jobject buffer) argument
[all...]
H A DGLES11cHeader.cpp49 nativeClassInit(JNIEnv *_env, jclass glImplClass) argument
51 jclass nioAccessClassLocal = _env->FindClass("java/nio/NIOAccess");
52 nioAccessClass = (jclass) _env->NewGlobalRef(nioAccessClassLocal);
54 jclass bufferClassLocal = _env->FindClass("java/nio/Buffer");
55 bufferClass = (jclass) _env->NewGlobalRef(bufferClassLocal);
57 getBasePointerID = _env->GetStaticMethodID(nioAccessClass,
59 getBaseArrayID = _env->GetStaticMethodID(nioAccessClass,
61 getBaseArrayOffsetID = _env->GetStaticMethodID(nioAccessClass,
64 positionID = _env->GetFieldID(bufferClass, "position", "I");
65 limitID = _env
72 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
100 releasePointer(JNIEnv *_env, jarray array, void *data, jboolean commit) argument
107 getDirectBufferPointer(JNIEnv *_env, jobject buffer) argument
[all...]
H A DGLES20cHeader.cpp42 nativeClassInit(JNIEnv *_env, jclass glImplClass) argument
44 jclass nioAccessClassLocal = _env->FindClass("java/nio/NIOAccess");
45 nioAccessClass = (jclass) _env->NewGlobalRef(nioAccessClassLocal);
47 jclass bufferClassLocal = _env->FindClass("java/nio/Buffer");
48 bufferClass = (jclass) _env->NewGlobalRef(bufferClassLocal);
50 getBasePointerID = _env->GetStaticMethodID(nioAccessClass,
52 getBaseArrayID = _env->GetStaticMethodID(nioAccessClass,
54 getBaseArrayOffsetID = _env->GetStaticMethodID(nioAccessClass,
57 positionID = _env->GetFieldID(bufferClass, "position", "I");
58 limitID = _env
65 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
93 releasePointer(JNIEnv *_env, jarray array, void *data, jboolean commit) argument
100 getDirectBufferPointer(JNIEnv *_env, jobject buffer) argument
[all...]
H A DglGetActiveAttrib.cpp4 (JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jintArray length_ref, jint lengthOffset, jintArray size_ref, jint sizeOffset, jintArray type_ref, jint typeOffset, jbyteArray name_ref, jint nameOffset) {
33 _lengthRemaining = _env->GetArrayLength(length_ref) - lengthOffset;
35 _env->GetPrimitiveArrayCritical(length_ref, (jboolean *)0);
50 _sizeRemaining = _env->GetArrayLength(size_ref) - sizeOffset;
52 _env->GetPrimitiveArrayCritical(size_ref, (jboolean *)0);
67 _typeRemaining = _env->GetArrayLength(type_ref) - typeOffset;
69 _env->GetPrimitiveArrayCritical(type_ref, (jboolean *)0);
84 _nameRemaining = _env->GetArrayLength(name_ref) - nameOffset;
86 _env->GetPrimitiveArrayCritical(name_ref, (jboolean *)0);
101 _env
3 android_glGetActiveAttrib__III_3II_3II_3II_3BI(JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jintArray length_ref, jint lengthOffset, jintArray size_ref, jint sizeOffset, jintArray type_ref, jint typeOffset, jbyteArray name_ref, jint nameOffset) argument
123 android_glGetActiveAttrib__IIILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2B(JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jobject length_buf, jobject size_buf, jobject type_buf, jbyte name) argument
175 android_glGetActiveAttrib1(JNIEnv *_env, jobject _this, jint program, jint index, jintArray size_ref, jint sizeOffset, jintArray type_ref, jint typeOffset) argument
270 android_glGetActiveAttrib2(JNIEnv *_env, jobject _this, jint program, jint index, jobject size_buf, jobject type_buf) argument
[all...]
H A DglGetActiveUniform.cpp4 (JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jintArray length_ref, jint lengthOffset, jintArray size_ref, jint sizeOffset, jintArray type_ref, jint typeOffset, jbyteArray name_ref, jint nameOffset) {
33 _lengthRemaining = _env->GetArrayLength(length_ref) - lengthOffset;
35 _env->GetPrimitiveArrayCritical(length_ref, (jboolean *)0);
50 _sizeRemaining = _env->GetArrayLength(size_ref) - sizeOffset;
52 _env->GetPrimitiveArrayCritical(size_ref, (jboolean *)0);
67 _typeRemaining = _env->GetArrayLength(type_ref) - typeOffset;
69 _env->GetPrimitiveArrayCritical(type_ref, (jboolean *)0);
84 _nameRemaining = _env->GetArrayLength(name_ref) - nameOffset;
86 _env->GetPrimitiveArrayCritical(name_ref, (jboolean *)0);
101 _env
3 android_glGetActiveUniform__III_3II_3II_3II_3BI(JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jintArray length_ref, jint lengthOffset, jintArray size_ref, jint sizeOffset, jintArray type_ref, jint typeOffset, jbyteArray name_ref, jint nameOffset) argument
123 android_glGetActiveUniform__IIILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2B(JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jobject length_buf, jobject size_buf, jobject type_buf, jbyte name) argument
175 android_glGetActiveUniform1(JNIEnv *_env, jobject _this, jint program, jint index, jintArray size_ref, jint sizeOffset, jintArray type_ref, jint typeOffset) argument
273 android_glGetActiveUniform2(JNIEnv *_env, jobject _this, jint program, jint index, jobject size_buf, jobject type_buf) argument
[all...]
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
H A DglGetString.cpp2 static jstring android_glGetString(JNIEnv *_env, jobject, jint name) { argument
4 return _env->NewStringUTF(chars);
H A DGLCHeader.cpp85 nativeClassInit(JNIEnv *_env, jclass glImplClass) argument
87 jclass nioAccessClassLocal = _env->FindClass("java/nio/NIOAccess");
88 nioAccessClass = (jclass) _env->NewGlobalRef(nioAccessClassLocal);
90 jclass bufferClassLocal = _env->FindClass("java/nio/Buffer");
91 bufferClass = (jclass) _env->NewGlobalRef(bufferClassLocal);
93 jclass g11impClassLocal = _env->FindClass("com/google/android/gles_jni/GLImpl");
94 G11ImplClass = (jclass) _env->NewGlobalRef(g11impClassLocal);
95 haveCheckedExtensionsID = _env->GetFieldID(G11ImplClass, "haveCheckedExtensions", "Z");
96 have_OES_blend_equation_separateID = _env->GetFieldID(G11ImplClass, "have_OES_blend_equation_separate", "Z");
97 have_OES_blend_subtractID = _env
116 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
146 releasePointer(JNIEnv *_env, jarray array, void *data, jboolean commit) argument
157 allowIndirectBuffers(JNIEnv *_env) argument
167 getDirectBufferPointer(JNIEnv *_env, jobject buffer) argument
243 supportsExtension(JNIEnv *_env, jobject impl, jfieldID fieldId) argument
[all...]
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglQueryString.cpp4 (JNIEnv *_env, jobject _this, jobject dpy, jint name) {
6 (EGLDisplay)fromEGLHandle(_env, egldisplayGetHandleID, dpy),
9 return _env->NewStringUTF(chars);
3 android_eglQueryString__Landroind_opengl_EGLDisplay_2I(JNIEnv *_env, jobject _this, jobject dpy, jint name) argument
H A DeglCreateWindowSurface.cpp4 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
9 EGLDisplay dpy_native = (EGLDisplay) fromEGLHandle(_env, egldisplayGetHandleID, dpy);
10 EGLConfig config_native = (EGLConfig) fromEGLHandle(_env, eglconfigGetHandleID, config);
37 window = android::android_Surface_getNativeWindow(_env, win);
42 _remaining = _env->GetArrayLength(attrib_list_ref) - offset;
44 _env->GetPrimitiveArrayCritical(attrib_list_ref, (jboolean *)0);
69 _env->ReleasePrimitiveArrayCritical(attrib_list_ref, attrib_list_base,
73 jniThrowException(_env, _exceptionType, _exceptionMessage);
75 return toEGLHandle(_env, eglsurfaceClass, eglsurfaceConstructor, _returnValue);
81 (JNIEnv *_env, jobjec
3 android_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
80 android_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
[all...]
H A DEGL14cHeader.cpp61 nativeClassInit(JNIEnv *_env, jclass glImplClass) argument
63 jclass egldisplayClassLocal = _env->FindClass("android/opengl/EGLDisplay");
64 egldisplayClass = (jclass) _env->NewGlobalRef(egldisplayClassLocal);
65 jclass eglcontextClassLocal = _env->FindClass("android/opengl/EGLContext");
66 eglcontextClass = (jclass) _env->NewGlobalRef(eglcontextClassLocal);
67 jclass eglsurfaceClassLocal = _env->FindClass("android/opengl/EGLSurface");
68 eglsurfaceClass = (jclass) _env->NewGlobalRef(eglsurfaceClassLocal);
69 jclass eglconfigClassLocal = _env->FindClass("android/opengl/EGLConfig");
70 eglconfigClass = (jclass) _env->NewGlobalRef(eglconfigClassLocal);
72 egldisplayGetHandleID = _env
103 fromEGLHandle(JNIEnv *_env, jmethodID mid, jobject obj) argument
113 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_SensorManager.cpp150 nativeClassInit (JNIEnv *_env, jclass _this) argument
152 jclass sensorClass = _env->FindClass("android/hardware/Sensor");
154 sensorOffsets.name = _env->GetFieldID(sensorClass, "mName", "Ljava/lang/String;");
155 sensorOffsets.vendor = _env->GetFieldID(sensorClass, "mVendor", "Ljava/lang/String;");
156 sensorOffsets.version = _env->GetFieldID(sensorClass, "mVersion", "I");
157 sensorOffsets.handle = _env->GetFieldID(sensorClass, "mHandle", "I");
158 sensorOffsets.type = _env->GetFieldID(sensorClass, "mType", "I");
159 sensorOffsets.range = _env->GetFieldID(sensorClass, "mMaxRange", "F");
160 sensorOffsets.resolution = _env->GetFieldID(sensorClass, "mResolution","F");
161 sensorOffsets.power = _env
[all...]
H A Dandroid_nio_utils.cpp29 void* android::nio_getPointer(JNIEnv *_env, jobject buffer, jarray *array) { argument
36 pointer = _env->CallStaticLongMethod(gNioJNI.nioAccessClass,
43 *array = (jarray) _env->CallStaticObjectMethod(gNioJNI.nioAccessClass,
45 offset = _env->CallStaticIntMethod(gNioJNI.nioAccessClass,
47 data = _env->GetPrimitiveArrayCritical(*array, (jboolean *) 0);
53 void android::nio_releasePointer(JNIEnv *_env, jarray array, void *data, argument
55 _env->ReleasePrimitiveArrayCritical(array, data,
H A Dandroid_opengl_GLES10Ext.cpp43 nativeClassInit(JNIEnv *_env, jclass glImplClass) argument
45 jclass nioAccessClassLocal = _env->FindClass("java/nio/NIOAccess");
46 nioAccessClass = (jclass) _env->NewGlobalRef(nioAccessClassLocal);
48 jclass bufferClassLocal = _env->FindClass("java/nio/Buffer");
49 bufferClass = (jclass) _env->NewGlobalRef(bufferClassLocal);
51 getBasePointerID = _env->GetStaticMethodID(nioAccessClass,
53 getBaseArrayID = _env->GetStaticMethodID(nioAccessClass,
55 getBaseArrayOffsetID = _env->GetStaticMethodID(nioAccessClass,
58 positionID = _env->GetFieldID(bufferClass, "position", "I");
59 limitID = _env
66 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
94 releasePointer(JNIEnv *_env, jarray array, void *data, jboolean commit) argument
103 android_glQueryMatrixxOES___3II_3II(JNIEnv *_env, jobject _this, jintArray mantissa_ref, jint mantissaOffset, jintArray exponent_ref, jint exponentOffset) argument
184 android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jobject mantissa_buf, jobject exponent_buf) argument
247 register_android_opengl_jni_GLES10Ext(JNIEnv *_env) argument
[all...]
H A Dcom_google_android_gles_jni_EGLImpl.cpp67 static void nativeClassInit(JNIEnv *_env, jclass eglImplClass) argument
69 jclass config_class = _env->FindClass("com/google/android/gles_jni/EGLConfigImpl");
70 gConfig_class = (jclass) _env->NewGlobalRef(config_class);
71 gConfig_ctorID = _env->GetMethodID(gConfig_class, "<init>", "(I)V");
72 gConfig_EGLConfigFieldID = _env->GetFieldID(gConfig_class, "mEGLConfig", "I");
74 jclass display_class = _env->FindClass("com/google/android/gles_jni/EGLDisplayImpl");
75 gDisplay_EGLDisplayFieldID = _env->GetFieldID(display_class, "mEGLDisplay", "I");
77 jclass context_class = _env->FindClass("com/google/android/gles_jni/EGLContextImpl");
78 gContext_EGLContextFieldID = _env->GetFieldID(context_class, "mEGLContext", "I");
80 jclass surface_class = _env
90 validAttribList(JNIEnv *_env, jintArray attrib_list) argument
103 beginNativeAttribList(JNIEnv *_env, jintArray attrib_list) argument
111 endNativeAttributeList(JNIEnv *_env, jintArray attrib_list, jint* attrib_base) argument
117 jni_eglInitialize(JNIEnv *_env, jobject _this, jobject display, jintArray major_minor) argument
140 jni_eglQueryContext(JNIEnv *_env, jobject _this, jobject display, jobject context, jint attribute, jintArray value) argument
159 jni_eglQuerySurface(JNIEnv *_env, jobject _this, jobject display, jobject surface, jint attribute, jintArray value) argument
179 jni_getInitCount(JNIEnv *_env, jobject _clazz, jobject display) argument
185 jni_eglReleaseThread(JNIEnv *_env, jobject _this) argument
189 jni_eglChooseConfig(JNIEnv *_env, jobject _this, jobject display, jintArray attrib_list, jobjectArray configs, jint config_size, jintArray num_config) argument
224 jni_eglCreateContext(JNIEnv *_env, jobject _this, jobject display, jobject config, jobject share_context, jintArray attrib_list) argument
240 jni_eglCreatePbufferSurface(JNIEnv *_env, jobject _this, jobject display, jobject config, jintArray attrib_list) argument
266 jni_eglCreatePixmapSurface(JNIEnv *_env, jobject _this, jobject out_sur, jobject display, jobject config, jobject native_pixmap, jintArray attrib_list) argument
312 jni_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject display, jobject config, jobject native_window, jintArray attrib_list) argument
339 jni_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject display, jobject config, jobject native_window, jintArray attrib_list) argument
368 jni_eglGetConfigAttrib(JNIEnv *_env, jobject _this, jobject display, jobject config, jint attribute, jintArray value) argument
386 jni_eglGetConfigs(JNIEnv *_env, jobject _this, jobject display, jobjectArray configs, jint config_size, jintArray num_config) argument
413 jni_eglGetError(JNIEnv *_env, jobject _this) argument
418 jni_eglGetCurrentContext(JNIEnv *_env, jobject _this) argument
422 jni_eglGetCurrentDisplay(JNIEnv *_env, jobject _this) argument
426 jni_eglGetCurrentSurface(JNIEnv *_env, jobject _this, jint readdraw) argument
434 jni_eglDestroyContext(JNIEnv *_env, jobject _this, jobject display, jobject context) argument
444 jni_eglDestroySurface(JNIEnv *_env, jobject _this, jobject display, jobject surface) argument
463 jni_eglGetDisplay(JNIEnv *_env, jobject _this, jobject native_display) argument
467 jni_eglMakeCurrent(JNIEnv *_env, jobject _this, jobject display, jobject draw, jobject read, jobject context) argument
479 jni_eglQueryString(JNIEnv *_env, jobject _this, jobject display, jint name) argument
489 jni_eglSwapBuffers(JNIEnv *_env, jobject _this, jobject display, jobject surface) argument
499 jni_eglTerminate(JNIEnv *_env, jobject _this, jobject display) argument
508 jni_eglCopyBuffers(JNIEnv *_env, jobject _this, jobject display, jobject surface, jobject native_pixmap) argument
518 jni_eglWaitGL(JNIEnv *_env, jobject _this) argument
522 jni_eglWaitNative(JNIEnv *_env, jobject _this, jint engine, jobject bindTarget) argument
569 register_com_google_android_gles_jni_EGLImpl(JNIEnv *_env) argument
[all...]
H A Dandroid_opengl_EGL14.cpp62 nativeClassInit(JNIEnv *_env, jclass glImplClass) argument
64 jclass egldisplayClassLocal = _env->FindClass("android/opengl/EGLDisplay");
65 egldisplayClass = (jclass) _env->NewGlobalRef(egldisplayClassLocal);
66 jclass eglcontextClassLocal = _env->FindClass("android/opengl/EGLContext");
67 eglcontextClass = (jclass) _env->NewGlobalRef(eglcontextClassLocal);
68 jclass eglsurfaceClassLocal = _env->FindClass("android/opengl/EGLSurface");
69 eglsurfaceClass = (jclass) _env->NewGlobalRef(eglsurfaceClassLocal);
70 jclass eglconfigClassLocal = _env->FindClass("android/opengl/EGLConfig");
71 eglconfigClass = (jclass) _env->NewGlobalRef(eglconfigClassLocal);
73 egldisplayGetHandleID = _env
104 fromEGLHandle(JNIEnv *_env, jmethodID mid, jobject obj) argument
114 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) argument
136 android_eglGetError(JNIEnv *_env, jobject _this) argument
145 android_eglGetDisplay(JNIEnv *_env, jobject _this, jint display_id) argument
156 android_eglInitialize(JNIEnv *_env, jobject _this, jobject dpy, jintArray major_ref, jint majorOffset, jintArray minor_ref, jint minorOffset) argument
239 android_eglTerminate(JNIEnv *_env, jobject _this, jobject dpy) argument
252 android_eglQueryString__Landroind_opengl_EGLDisplay_2I(JNIEnv *_env, jobject _this, jobject dpy, jint name) argument
262 android_eglGetConfigs(JNIEnv *_env, jobject _this, jobject dpy, jobjectArray configs_ref, jint configsOffset, jint config_size, jintArray num_config_ref, jint num_configOffset) argument
340 android_eglChooseConfig(JNIEnv *_env, jobject _this, jobject dpy, jintArray attrib_list_ref, jint attrib_listOffset, jobjectArray configs_ref, jint configsOffset, jint config_size, jintArray num_config_ref, jint num_configOffset) argument
463 android_eglGetConfigAttrib(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint attribute, jintArray value_ref, jint offset) argument
518 android_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
595 android_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
672 android_eglCreatePbufferSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jintArray attrib_list_ref, jint offset) argument
734 android_eglCreatePixmapSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint pixmap, jintArray attrib_list_ref, jint offset) argument
743 android_eglDestroySurface(JNIEnv *_env, jobject _this, jobject dpy, jobject surface) argument
758 android_eglQuerySurface(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint attribute, jintArray value_ref, jint offset) argument
813 android_eglBindAPI(JNIEnv *_env, jobject _this, jint api) argument
824 android_eglQueryAPI(JNIEnv *_env, jobject _this) argument
833 android_eglWaitClient(JNIEnv *_env, jobject _this) argument
842 android_eglReleaseThread(JNIEnv *_env, jobject _this) argument
851 android_eglCreatePbufferFromClientBuffer(JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jint buffer, jobject config, jintArray attrib_list_ref, jint offset) argument
915 android_eglSurfaceAttrib(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint attribute, jint value) argument
932 android_eglBindTexImage(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint buffer) argument
948 android_eglReleaseTexImage(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint buffer) argument
964 android_eglSwapInterval(JNIEnv *_env, jobject _this, jobject dpy, jint interval) argument
978 android_eglCreateContext(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject share_context, jintArray attrib_list_ref, jint offset) argument
1042 android_eglDestroyContext(JNIEnv *_env, jobject _this, jobject dpy, jobject ctx) argument
1057 android_eglMakeCurrent(JNIEnv *_env, jobject _this, jobject dpy, jobject draw, jobject read, jobject ctx) argument
1076 android_eglGetCurrentContext(JNIEnv *_env, jobject _this) argument
1085 android_eglGetCurrentSurface(JNIEnv *_env, jobject _this, jint readdraw) argument
1096 android_eglGetCurrentDisplay(JNIEnv *_env, jobject _this) argument
1105 android_eglQueryContext(JNIEnv *_env, jobject _this, jobject dpy, jobject ctx, jint attribute, jintArray value_ref, jint offset) argument
1160 android_eglWaitGL(JNIEnv *_env, jobject _this) argument
1169 android_eglWaitNative(JNIEnv *_env, jobject _this, jint engine) argument
1180 android_eglSwapBuffers(JNIEnv *_env, jobject _this, jobject dpy, jobject surface) argument
1195 android_eglCopyBuffers(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint target) argument
1242 register_android_opengl_jni_EGL14(JNIEnv *_env) argument
[all...]
H A Dandroid_opengl_GLES11.cpp50 nativeClassInit(JNIEnv *_env, jclass glImplClass) argument
52 jclass nioAccessClassLocal = _env->FindClass("java/nio/NIOAccess");
53 nioAccessClass = (jclass) _env->NewGlobalRef(nioAccessClassLocal);
55 jclass bufferClassLocal = _env->FindClass("java/nio/Buffer");
56 bufferClass = (jclass) _env->NewGlobalRef(bufferClassLocal);
58 getBasePointerID = _env->GetStaticMethodID(nioAccessClass,
60 getBaseArrayID = _env->GetStaticMethodID(nioAccessClass,
62 getBaseArrayOffsetID = _env->GetStaticMethodID(nioAccessClass,
65 positionID = _env->GetFieldID(bufferClass, "position", "I");
66 limitID = _env
73 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
101 releasePointer(JNIEnv *_env, jarray array, void *data, jboolean commit) argument
108 getDirectBufferPointer(JNIEnv *_env, jobject buffer) argument
124 android_glBindBuffer__II(JNIEnv *_env, jobject _this, jint target, jint buffer) argument
134 android_glBufferData__IILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint target, jint size, jobject data_buf, jint usage) argument
175 android_glBufferSubData__IIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint offset, jint size, jobject data_buf) argument
214 android_glClipPlanef__I_3FI(JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) argument
257 android_glClipPlanef__ILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) argument
286 android_glClipPlanex__I_3II(JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) argument
329 android_glClipPlanex__ILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) argument
358 android_glColor4ub__BBBB(JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) argument
370 android_glColorPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument
382 android_glDeleteBuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray buffers_ref, jint offset) argument
431 android_glDeleteBuffers__ILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint n, jobject buffers_buf) argument
468 android_glDrawElements__IIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) argument
486 android_glGenBuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray buffers_ref, jint offset) argument
535 android_glGenBuffers__ILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint n, jobject buffers_buf) argument
572 android_glGetBooleanv__I_3ZI(JNIEnv *_env, jobject _this, jint pname, jbooleanArray params_ref, jint offset) argument
615 android_glGetBooleanv__ILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint pname, jobject params_buf) argument
638 android_glGetBufferParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
688 android_glGetBufferParameteriv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint target, jint pname, jobject params_buf) argument
726 android_glGetClipPlanef__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray eqn_ref, jint offset) argument
769 android_glGetClipPlanef__ILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint pname, jobject eqn_buf) argument
792 android_glGetClipPlanex__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray eqn_ref, jint offset) argument
835 android_glGetClipPlanex__ILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint pname, jobject eqn_buf) argument
858 android_glGetFixedv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
901 android_glGetFixedv__ILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint pname, jobject params_buf) argument
924 android_glGetFloatv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument
967 android_glGetFloatv__ILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint pname, jobject params_buf) argument
990 android_glGetLightfv__II_3FI(JNIEnv *_env, jobject _this, jint light, jint pname, jfloatArray params_ref, jint offset) argument
1082 android_glGetLightfv__IILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint light, jint pname, jobject params_buf) argument
1162 android_glGetLightxv__II_3II(JNIEnv *_env, jobject _this, jint light, jint pname, jintArray params_ref, jint offset) argument
1254 android_glGetLightxv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint light, jint pname, jobject params_buf) argument
1334 android_glGetMaterialfv__II_3FI(JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) argument
1412 android_glGetMaterialfv__IILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
1478 android_glGetMaterialxv__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
1556 android_glGetMaterialxv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) argument
1622 android_glGetTexEnvfv__II_3FI(JNIEnv *_env, jobject _this, jint env, jint pname, jfloatArray params_ref, jint offset) argument
1694 android_glGetTexEnvfv__IILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint env, jint pname, jobject params_buf) argument
1754 android_glGetTexEnviv__II_3II(JNIEnv *_env, jobject _this, jint env, jint pname, jintArray params_ref, jint offset) argument
1826 android_glGetTexEnviv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint env, jint pname, jobject params_buf) argument
1886 android_glGetTexEnvxv__II_3II(JNIEnv *_env, jobject _this, jint env, jint pname, jintArray params_ref, jint offset) argument
1958 android_glGetTexEnvxv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint env, jint pname, jobject params_buf) argument
2018 android_glGetTexParameterfv__II_3FI(JNIEnv *_env, jobject _this, jint target, jint pname, jfloatArray params_ref, jint offset) argument
2068 android_glGetTexParameterfv__IILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint target, jint pname, jobject params_buf) argument
2106 android_glGetTexParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
2156 android_glGetTexParameteriv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint target, jint pname, jobject params_buf) argument
2194 android_glGetTexParameterxv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
2244 android_glGetTexParameterxv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint target, jint pname, jobject params_buf) argument
2282 android_glIsBuffer__I(JNIEnv *_env, jobject _this, jint buffer) argument
2293 android_glIsEnabled__I(JNIEnv *_env, jobject _this, jint cap) argument
2304 android_glIsTexture__I(JNIEnv *_env, jobject _this, jint texture) argument
2315 android_glNormalPointer__III(JNIEnv *_env, jobject _this, jint type, jint stride, jint offset) argument
2326 android_glPointParameterf__IF(JNIEnv *_env, jobject _this, jint pname, jfloat param) argument
2336 android_glPointParameterfv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument
2385 android_glPointParameterfv__ILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint pname, jobject params_buf) argument
2422 android_glPointParameterx__II(JNIEnv *_env, jobject _this, jint pname, jint param) argument
2432 android_glPointParameterxv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
2481 android_glPointParameterxv__ILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint pname, jobject params_buf) argument
2518 android_glPointSizePointerOESBounds__IILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint type, jint stride, jobject pointer_buf, jint remaining) argument
2541 android_glTexCoordPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument
2553 android_glTexEnvi__III(JNIEnv *_env, jobject _this, jint target, jint pname, jint param) argument
2564 android_glTexEnviv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
2636 android_glTexEnviv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint target, jint pname, jobject params_buf) argument
2696 android_glTexParameterfv__II_3FI(JNIEnv *_env, jobject _this, jint target, jint pname, jfloatArray params_ref, jint offset) argument
2746 android_glTexParameterfv__IILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint target, jint pname, jobject params_buf) argument
2784 android_glTexParameteri__III(JNIEnv *_env, jobject _this, jint target, jint pname, jint param) argument
2795 android_glTexParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
2845 android_glTexParameteriv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint target, jint pname, jobject params_buf) argument
2883 android_glTexParameterxv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
2933 android_glTexParameterxv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint target, jint pname, jobject params_buf) argument
2971 android_glVertexPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument
3056 register_android_opengl_jni_GLES11(JNIEnv *_env) argument
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DProgramFragmentFixedFunction.java156 Slot(EnvMode _env, Format _fmt) { argument
157 env = _env;
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp739 nativeClassInitBuffer(JNIEnv *_env) argument
741 jclass nioAccessClassLocal = _env->FindClass("java/nio/NIOAccess");
742 nioAccessClass = (jclass) _env->NewGlobalRef(nioAccessClassLocal);
744 jclass bufferClassLocal = _env->FindClass("java/nio/Buffer");
745 bufferClass = (jclass) _env->NewGlobalRef(bufferClassLocal);
747 getBasePointerID = _env->GetStaticMethodID(nioAccessClass,
749 getBaseArrayID = _env->GetStaticMethodID(nioAccessClass,
751 getBaseArrayOffsetID = _env->GetStaticMethodID(nioAccessClass,
753 positionID = _env->GetFieldID(bufferClass, "position", "I");
754 limitID = _env
760 getPointer(JNIEnv *_env, jobject buffer, jint *remaining) argument
[all...]

Completed in 1167 milliseconds

12