summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceComposerClient.cpp
diff options
context:
space:
mode:
author Jamie Gennis <jgennis@google.com> 2012-10-04 18:34:01 -0700
committer Jamie Gennis <jgennis@google.com> 2012-10-11 20:08:26 -0700
commit1efe099a51e2231bd938a6afcf66e6584deec0f2 (patch)
treedf27ff5a7c0c2b30a1f65cd16e1c964045695f34 /libs/gui/SurfaceComposerClient.cpp
parentf0c89b28be2e74c26d74b2a21b7228516f8c236f (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
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions