commit | 4c0a4a2b74db9d4a439a0aaa39d80586f7eb1258 | [log] [tgz] |
---|---|---|
author | Antti Hatala <ahatala@nvidia.com> | Wed Sep 08 06:37:14 2010 -0700 |
committer | Erik Gilling <konkers@android.com> | Thu Sep 09 12:06:18 2010 -0700 |
tree | 28ffac71f56953e30c2d4d64ef37ea6d640004f4 | |
parent | 54ceb6e68e3510730dc92f9ed2a929b21351405b [diff] [blame] |
surfaceflinger: unlock clients only after flip Change-Id: I039291a36f05bbaa02b29325d4012114abd784b9
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index a78d9b9..83f96a6 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -383,10 +383,10 @@ // 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();