Skip to content

Commit 2e52971

Browse files
jreckAndroid Git Automerger
authored andcommitted
am c03ab87: Merge "Disable skipping frames on empty damage" into mnc-dev
* commit 'c03ab87ac9f721ff22bfe5e9c0cd0e5be64f261e': Disable skipping frames on empty damage
2 parents ba6cdbf + c03ab87 commit 2e52971

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

libs/hwui/renderthread/CanvasContext.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,11 @@ void CanvasContext::draw() {
229229
SkRect dirty;
230230
mDamageAccumulator.finish(&dirty);
231231

232-
if (dirty.isEmpty() && Properties::skipEmptyFrames) {
233-
mCurrentFrameInfo->addFlag(FrameInfoFlags::SkippedFrame);
234-
return;
235-
}
232+
// TODO: Re-enable after figuring out cause of b/22592975
233+
// if (dirty.isEmpty() && Properties::skipEmptyFrames) {
234+
// mCurrentFrameInfo->addFlag(FrameInfoFlags::SkippedFrame);
235+
// return;
236+
// }
236237

237238
mCurrentFrameInfo->markIssueDrawCommandsStart();
238239

0 commit comments

Comments
 (0)