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

Commit fd507260 authored by Romain Guy's avatar Romain Guy
Browse files

Reset the dirty region after drawing in hardware.

Change-Id: I687419f2a95d5d7c51913467bd80249244102725
parent c4e43d80
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1280,8 +1280,9 @@ public final class ViewRoot extends Handler implements ViewParent, View.AttachIn
        }
        
        if (mAttachInfo.mHardwareRenderer != null && mAttachInfo.mHardwareRenderer.isEnabled()) {
            if (!dirty.isEmpty()) {
            if (!dirty.isEmpty() || mIsAnimating) {
                mAttachInfo.mHardwareRenderer.draw(mView, mAttachInfo, yoff);
                dirty.setEmpty();
            }

            if (scrolling) {