summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2015-08-04 01:18:00 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2015-08-04 01:18:00 +0000
commit0429246eb85dd3c42f92bd5680fe2f6883faddbc (patch)
treec655512c0088f4922001b9e8e0e86ba704c942a6
parent5290bf5875a6b7b141e322bd96a53c29855f7cb9 (diff)
parent0c9ec1f2b79835360b82b8cc91801a46c4352440 (diff)
am 0c9ec1f2: am 2e529712: am c03ab87a: Merge "Disable skipping frames on empty damage" into mnc-dev
* commit '0c9ec1f2b79835360b82b8cc91801a46c4352440': 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();