summaryrefslogtreecommitdiffstats
path: root/src_pd
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2013-04-10 01:43:31 (GMT)
committernicolasroard <nicolasroard@google.com>2013-04-10 02:45:14 (GMT)
commit30ddbfb5277d3f538b12209877fffaffc9b66835 (patch)
treeabc38f92fb4a8fbadaa8436c63056997fd28edda /src_pd
parent0f095dbd21725f646fce60f14bd954e5aceead24 (diff)
downloadandroid_packages_apps_Snap-30ddbfb5277d3f538b12209877fffaffc9b66835.zip
android_packages_apps_Snap-30ddbfb5277d3f538b12209877fffaffc9b66835.tar.gz
android_packages_apps_Snap-30ddbfb5277d3f538b12209877fffaffc9b66835.tar.bz2
Add a third pipeline reserved for the high res preview
Change-Id: I1f35f0a7195157e5fe742d7d7c5506b3f84ece1b
Diffstat (limited to 'src_pd')
-rw-r--r--src_pd/com/android/gallery3d/filtershow/filters/FiltersManager.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src_pd/com/android/gallery3d/filtershow/filters/FiltersManager.java b/src_pd/com/android/gallery3d/filtershow/filters/FiltersManager.java
index 4b6b1d3..910627a 100644
--- a/src_pd/com/android/gallery3d/filtershow/filters/FiltersManager.java
+++ b/src_pd/com/android/gallery3d/filtershow/filters/FiltersManager.java
@@ -22,6 +22,7 @@ import java.util.Vector;
public class FiltersManager extends BaseFiltersManager {
private static FiltersManager sInstance = null;
private static FiltersManager sPreviewInstance = null;
+ private static FiltersManager sHighresInstance = null;
public FiltersManager() {
init();
@@ -41,9 +42,17 @@ public class FiltersManager extends BaseFiltersManager {
return sInstance;
}
+ public static FiltersManager getHighresManager() {
+ if (sHighresInstance == null) {
+ sHighresInstance = new FiltersManager();
+ }
+ return sHighresInstance;
+ }
+
public static void reset() {
sInstance = null;
sPreviewInstance = null;
+ sHighresInstance = null;
}
}