From 82e96d2d003bd524439f81901d1462eab6790eb1 Mon Sep 17 00:00:00 2001 From: Chih-Chung Chang Date: Fri, 9 Oct 2009 14:40:57 +0800 Subject: Fix 2172926: Remove unnecessary invalidate to speed up video recording. This is tested on G1, and has no visible difference. --- src/com/android/camera/VideoCamera.java | 7 ------- 1 file changed, 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); } -- cgit v1.1