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

Commit c6a607aa authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Death to synchronous transactions (1/2)

Bug: 28068298
Change-Id: I0a9a212a4b19793cf2830193152c53c03b651970
parent 97a46df0
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -291,9 +291,6 @@ status_t Composer::setSize(const sp<SurfaceComposerClient>& client,
    s->w = w;
    s->h = h;

    // Resizing a surface makes the transaction synchronous.
    mForceSynchronous = true;

    return NO_ERROR;
}

@@ -454,7 +451,6 @@ void Composer::setDisplayProjection(const sp<IBinder>& token,
    s.viewport = layerStackRect;
    s.frame = displayRect;
    s.what |= DisplayState::eDisplayProjectionChanged;
    mForceSynchronous = true; // TODO: do we actually still need this?
}

void Composer::setDisplaySize(const sp<IBinder>& token, uint32_t width, uint32_t height) {