Fix preview rendering speed...

Change-Id: I6a6ba3c14a91d60446f28f5dce52fd3c4bc49f79
diff --git a/src/com/android/gallery3d/filtershow/imageshow/GeometryMetadata.java b/src/com/android/gallery3d/filtershow/imageshow/GeometryMetadata.java
index 647b101..c7d08d8 100644
--- a/src/com/android/gallery3d/filtershow/imageshow/GeometryMetadata.java
+++ b/src/com/android/gallery3d/filtershow/imageshow/GeometryMetadata.java
@@ -181,7 +181,7 @@
     }
 
     @Override
-    public boolean equals(Object o) {
+    public boolean equals(FilterRepresentation o) {
         if (this == o)
             return true;
         if (o == null || getClass() != o.getClass())
diff --git a/src/com/android/gallery3d/filtershow/imageshow/MasterImage.java b/src/com/android/gallery3d/filtershow/imageshow/MasterImage.java
index 2dd05ae..f96d94a 100644
--- a/src/com/android/gallery3d/filtershow/imageshow/MasterImage.java
+++ b/src/com/android/gallery3d/filtershow/imageshow/MasterImage.java
@@ -360,6 +360,9 @@
     }
 
     public void notifyGeometryChange() {
+        if (mHandler.hasMessages(NEW_GEOMETRY)) {
+            return;
+        }
         mHandler.sendEmptyMessage(NEW_GEOMETRY);
     }