1 /* const char * eglQueryString ( EGLDisplay dpy, EGLint name ) */ 2 static jstring android_eglQueryString__Landroind_opengl_EGLDisplay_2I(JNIEnv * _env,jobject _this,jobject dpy,jint name)3android_eglQueryString__Landroind_opengl_EGLDisplay_2I 4 (JNIEnv *_env, jobject _this, jobject dpy, jint name) { 5 const char* chars = (const char*) eglQueryString( 6 (EGLDisplay)fromEGLHandle(_env, egldisplayGetHandleID, dpy), 7 (EGLint)name 8 ); 9 return _env->NewStringUTF(chars); 10 } 11