[vlc-devel] [PATCHv2 13/14] android: utils: remove AWindow SurfaceTexture functions
Alexandre Janniaux
ajanni at videolabs.io
Wed Jun 24 15:14:37 CEST 2020
They are not used anymore since we create the SurfaceTexture ourselves.
---
modules/video_output/android/utils.c | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/modules/video_output/android/utils.c b/modules/video_output/android/utils.c
index 0ce143d9986..1180d5e21f4 100644
--- a/modules/video_output/android/utils.c
+++ b/modules/video_output/android/utils.c
@@ -126,10 +126,6 @@ static struct
jmethodID registerNative;
jmethodID unregisterNative;
jmethodID setVideoLayout;
- jmethodID attachToGLContext;
- jmethodID detachFromGLContext;
- jmethodID waitAndUpdateTexImage;
- jmethodID getSurface;
} AWindow;
struct {
jclass clazz;
@@ -706,16 +702,6 @@ InitJNIFields(JNIEnv *env, vlc_object_t *p_obj, jobject *jobj)
GET_METHOD(AWindow, setVideoLayout,
"setVideoLayout", "(IIIIII)V", true);
- GET_METHOD(AWindow, attachToGLContext,
- "SurfaceTexture_attachToGLContext", "(I)Z", true);
- GET_METHOD(AWindow, detachFromGLContext,
- "SurfaceTexture_detachFromGLContext", "()V", true);
- GET_METHOD(AWindow, waitAndUpdateTexImage,
- "SurfaceTexture_waitAndUpdateTexImage", "([F)Z",
- true);
- GET_METHOD(AWindow, getSurface,
- "SurfaceTexture_getSurface", "()Landroid/view/Surface;", true);
-
if ((*env)->RegisterNatives(env, jfields.AWindow.clazz, jni_callbacks, 2) < 0)
{
msg_Err(p_obj, "RegisterNatives failed");
--
2.27.0
More information about the vlc-devel
mailing list