summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2009-10-09 14:40:57 +0800
committerChih-Chung Chang <chihchung@google.com>2009-10-09 14:41:45 +0800
commit82e96d2d003bd524439f81901d1462eab6790eb1 (patch)
treeadd620f99f1ea2478e24e5f35b3b3335450475bd
parent12f4b9a20982fa31806385d8e76f1d6da8320739 (diff)
downloadLegacyCamera-82e96d2d003bd524439f81901d1462eab6790eb1.zip
LegacyCamera-82e96d2d003bd524439f81901d1462eab6790eb1.tar.gz
LegacyCamera-82e96d2d003bd524439f81901d1462eab6790eb1.tar.bz2
Fix 2172926: Remove unnecessary invalidate to speed up video recording.
This is tested on G1, and has no visible difference.
-rw-r--r--src/com/android/camera/VideoCamera.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/com/android/camera/VideoCamera.java b/src/com/android/camera/VideoCamera.java
index b7184e1..4f22804 100644
--- a/src/com/android/camera/VideoCamera.java
+++ b/src/com/android/camera/VideoCamera.java
@@ -1383,13 +1383,6 @@ public class VideoCamera extends Activity implements View.OnClickListener,
mRecordingTimeView.setTextColor(color);
}
- // Work around a limitation of the T-Mobile G1: The T-Mobile
- // hardware blitter can't pixel-accurately scale and clip at the
- // same time, and the SurfaceFlinger doesn't attempt to work around
- // this limitation. In order to avoid visual corruption we must
- // manually refresh the entire surface view when changing any
- // overlapping view's contents.
- mVideoPreview.invalidate();
mHandler.sendEmptyMessageDelayed(
UPDATE_RECORD_TIME, next_update_delay);
}