commit | 1efe099a51e2231bd938a6afcf66e6584deec0f2 | [log] [tgz] |
---|---|---|
author | Jamie Gennis <jgennis@google.com> | Thu Oct 04 18:34:01 2012 -0700 |
committer | Jamie Gennis <jgennis@google.com> | Thu Oct 11 20:08:26 2012 -0700 |
tree | df27ff5a7c0c2b30a1f65cd16e1c964045695f34 | |
parent | f0c89b28be2e74c26d74b2a21b7228516f8c236f [diff] |
BufferQueue: alloc without holding the lock This change makes BufferQueue::dequeueBuffer release its mutex before allocating new buffers. This should alleviate lock contention in SurfaceFlinger where SF's main thread can get blocked waiting for an allocation operation to complete. Bug: 7335075 Change-Id: I1b000539cc616a695afab2e9c68507db69e57b13