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

Commit 0347ec7e authored by Erik Gilling's avatar Erik Gilling Committed by Android (Google) Code Review
Browse files

Merge "surfaceflinger: unlock clients only after flip"

parents 62f5977c 8392b504
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -383,10 +383,10 @@ bool SurfaceFlinger::threadLoop()
        // inform the h/w that we're done compositing
        // inform the h/w that we're done compositing
        hw.compositionComplete();
        hw.compositionComplete();


        // release the clients before we flip ('cause flip might block)
        postFramebuffer();

        unlockClients();
        unlockClients();


        postFramebuffer();
    } else {
    } else {
        // pretend we did the post
        // pretend we did the post
        unlockClients();
        unlockClients();