Merge "surfaceflinger: unlock clients only after flip"

This commit is contained in:
Erik Gilling
2010-09-09 13:01:18 -07:00
committed by Android (Google) Code Review

View File

@@ -383,10 +383,10 @@ bool SurfaceFlinger::threadLoop()
// inform the h/w that we're done compositing
hw.compositionComplete();
// release the clients before we flip ('cause flip might block)
postFramebuffer();
unlockClients();
postFramebuffer();
} else {
// pretend we did the post
unlockClients();