summaryrefslogtreecommitdiffstats
path: root/jni/jni_egl_fence.h
diff options
context:
space:
mode:
authorRuei-sung Lin <rslin@google.com>2012-05-31 11:59:31 -0700
committerRuei-sung Lin <rslin@google.com>2012-06-01 20:14:58 -0700
commit0bd89c21b27aaacdb93a46fa67856344034feec2 (patch)
treee4b0c03745d096de2eb7f530306d04a3eefd6b66 /jni/jni_egl_fence.h
parenta053a3179cfee3d2bb666eff5f4f03a96b092e04 (diff)
downloadandroid_packages_apps_Snap-0bd89c21b27aaacdb93a46fa67856344034feec2.tar.gz
android_packages_apps_Snap-0bd89c21b27aaacdb93a46fa67856344034feec2.tar.bz2
android_packages_apps_Snap-0bd89c21b27aaacdb93a46fa67856344034feec2.zip
Fix b/6590795 dejank photo effect slider
Change-Id: I14737bd01361b58c6bd4af19957d514368cc19ea
Diffstat (limited to 'jni/jni_egl_fence.h')
-rw-r--r--jni/jni_egl_fence.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/jni/jni_egl_fence.h b/jni/jni_egl_fence.h
new file mode 100644
index 000000000..6b2c20ab8
--- /dev/null
+++ b/jni/jni_egl_fence.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2012 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef COM_ANDROID_GALLERY3D_PHOTOEDITOR_JNI_EGL_FENSE_H
+#define COM_ANDROID_GALLERY3D_PHOTOEDITOR_JNI_EGL_FENSE_H
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+JNIEXPORT void JNICALL
+Java_com_android_gallery3d_photoeditor_FilterStack_nativeEglSetFenceAndWait(JNIEnv* env,
+ jobject thiz);
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* COM_ANDROID_GALLERY3D_PHOTOEDITOR_JNI_EGL_FENSE_H */