Skip to content

Commit 917a3b3

Browse files
author
Jamie Gennis
committed
SurfaceTexture: remove call to doGLFenceWait
This call is no longer needed as the default behavior of the native SurfaceTexture class is to do the wait whenever updateTexImage is called. Change-Id: I995686a5989409e21b00fac913bd33c11f806998
1 parent 494ac35 commit 917a3b3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

core/jni/android/graphics/SurfaceTexture.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,6 @@ static void SurfaceTexture_updateTexImage(JNIEnv* env, jobject thiz)
223223
} else if (err < 0) {
224224
jniThrowRuntimeException(env, "Error during updateTexImage (see logcat for details)");
225225
}
226-
err = surfaceTexture->doGLFenceWait();
227-
if (err != NO_ERROR) {
228-
jniThrowRuntimeException(env, "Error waiting for fence (see logcat for details)");
229-
}
230226
}
231227

232228
static jint SurfaceTexture_detachFromGLContext(JNIEnv* env, jobject thiz)

0 commit comments

Comments
 (0)