summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2015-08-04 01:41:02 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2015-08-04 01:41:02 +0000
commit0d39408976306a3830b9ff96adea76caa05be383 (patch)
tree1521b35b8e89a38c8e950274c7a5a09d049b266f
parent774fe81a7bc2f42220a3f64e21727d8cf4a755bc (diff)
parent903e117e55d5b2ac58acdce3810fc47972d1c6cb (diff)
am 903e117e: am 0429246e: am 0c9ec1f2: am 2e529712: am c03ab87a: Merge "Disable skipping frames on empty damage" into mnc-dev
* commit '903e117e55d5b2ac58acdce3810fc47972d1c6cb': Disable skipping frames on empty damage
-rw-r--r--libs/hwui/renderthread/CanvasContext.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/libs/hwui/renderthread/CanvasContext.cpp b/libs/hwui/renderthread/CanvasContext.cpp
index e472e937316b..6dfb6e811e60 100644
--- a/libs/hwui/renderthread/CanvasContext.cpp
+++ b/libs/hwui/renderthread/CanvasContext.cpp
@@ -229,10 +229,11 @@ void CanvasContext::draw() {
SkRect dirty;
mDamageAccumulator.finish(&dirty);
- if (dirty.isEmpty() && Properties::skipEmptyFrames) {
- mCurrentFrameInfo->addFlag(FrameInfoFlags::SkippedFrame);
- return;
- }
+ // TODO: Re-enable after figuring out cause of b/22592975
+// if (dirty.isEmpty() && Properties::skipEmptyFrames) {
+// mCurrentFrameInfo->addFlag(FrameInfoFlags::SkippedFrame);
+// return;
+// }
mCurrentFrameInfo->markIssueDrawCommandsStart();