Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e529712 authored by John Reck's avatar John Reck Committed by Android Git Automerger
Browse files

am c03ab87a: Merge "Disable skipping frames on empty damage" into mnc-dev

* commit 'c03ab87a':
  Disable skipping frames on empty damage
parents ba6cdbfd c03ab87a
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -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();