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

Commit db5827d3 authored by Dan Stoza's avatar Dan Stoza Committed by Android Git Automerger
Browse files

am 5878444f: SurfaceFlinger: Listen to HWC invalidate

* commit '5878444f':
  SurfaceFlinger: Listen to HWC invalidate
parents 84fd9bd1 5878444f
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -835,9 +835,11 @@ void SurfaceFlinger::onMessageReceived(int32_t what) {
        case MessageQueue::INVALIDATE: {
            bool refreshNeeded = handleMessageTransaction();
            refreshNeeded |= handleMessageInvalidate();
            refreshNeeded |= mRepaintEverything;
            if (refreshNeeded) {
                // Signal a refresh if a transaction modified the window state or if
                // a new buffer was latched
                // Signal a refresh if a transaction modified the window state,
                // a new buffer was latched, or if HWC has requested a full
                // repaint
                signalRefresh();
            }
            break;