diff options
| author | 2010-09-08 06:37:14 -0700 | |
|---|---|---|
| committer | 2010-09-09 12:06:18 -0700 | |
| commit | 4c0a4a2b74db9d4a439a0aaa39d80586f7eb1258 (patch) | |
| tree | 28ffac71f56953e30c2d4d64ef37ea6d640004f4 | |
| parent | 54ceb6e68e3510730dc92f9ed2a929b21351405b (diff) | |
surfaceflinger: unlock clients only after flip
Change-Id: I039291a36f05bbaa02b29325d4012114abd784b9
| -rw-r--r-- | services/surfaceflinger/SurfaceFlinger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index a78d9b914cb2..83f96a679b7a 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp @@ -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(); |