api-impl: add native implementations for more GL and EGL java wrappers

This commit is contained in:
Mis012
2024-06-13 20:40:58 +02:00
parent 26657d4a26
commit ccc2a86cf7
6 changed files with 29 additions and 10 deletions

View File

@@ -87,6 +87,14 @@ JNIEXPORT jboolean JNICALL Java_com_google_android_gles_1jni_EGLImpl_native_1egl
JNIEXPORT jboolean JNICALL Java_com_google_android_gles_1jni_EGLImpl_native_1eglDestroyContext
(JNIEnv *, jobject, jlong, jlong);
/*
* Class: com_google_android_gles_jni_EGLImpl
* Method: native_eglCreatePbufferSurface
* Signature: (JJ[I)J
*/
JNIEXPORT jlong JNICALL Java_com_google_android_gles_1jni_EGLImpl_native_1eglCreatePbufferSurface
(JNIEnv *, jobject, jlong, jlong, jintArray);
#ifdef __cplusplus
}
#endif

View File

@@ -263,14 +263,6 @@ JNIEXPORT void JNICALL Java_com_google_android_gles_1jni_GLImpl_glEnableClientSt
JNIEXPORT void JNICALL Java_com_google_android_gles_1jni_GLImpl_glFinish
(JNIEnv *, jobject);
/*
* Class: com_google_android_gles_jni_GLImpl
* Method: glFlush
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_com_google_android_gles_1jni_GLImpl_glFlush
(JNIEnv *, jobject);
/*
* Class: com_google_android_gles_jni_GLImpl
* Method: glFogf