diff options
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/gallery3d/photoeditor/FilterStack.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/photoeditor/FilterStack.java b/src/com/android/gallery3d/photoeditor/FilterStack.java index fe6fb104d..273c29532 100644 --- a/src/com/android/gallery3d/photoeditor/FilterStack.java +++ b/src/com/android/gallery3d/photoeditor/FilterStack.java @@ -118,6 +118,7 @@ public class FilterStack { reallocateBuffer(out); } appliedStack.get(filterIndex).process(input, buffers[out]); + nativeEglSetFenceAndWait(); return buffers[out]; } return null; @@ -275,4 +276,10 @@ public class FilterStack { photoView.onResume(); paused = false; } + + static { + System.loadLibrary("jni_eglfence"); + } + + private native void nativeEglSetFenceAndWait(); } |