diff options
| author | 2010-09-09 13:01:18 -0700 | |
|---|---|---|
| committer | 2010-09-09 13:01:18 -0700 | |
| commit | 1d3fc50ac04bc0717d4cc965b208abe73a62da34 (patch) | |
| tree | d8ff32691f7fa6477354a5fe6a9e56098ac2efe2 | |
| parent | 14fdda3196cfd3559155e25bd1fc28c0e956e692 (diff) | |
| parent | 4c0a4a2b74db9d4a439a0aaa39d80586f7eb1258 (diff) | |
Merge "surfaceflinger: unlock clients only after flip"
| -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(); |