diff options
| author | 2012-12-06 17:51:53 -0800 | |
|---|---|---|
| committer | 2012-12-06 18:17:35 -0800 | |
| commit | b21a4e3b5f7f07ed160ca6e1809313e2a8e2a6a4 (patch) | |
| tree | a27b96ec4dac41a3682c9d62f3661738e0308442 /libs/utils/CallStack.cpp | |
| parent | efd614b869e952792b009db4ab54f3bb4375d198 (diff) | |
ConsumerBase: free buffers outside the lock
This change makes ConsumerBase::onBuffersReleased hold a reference to all its
gralloc buffers until after the mutex is unlocked. This prevents slow
gralloc::free calls from causing lock contention with rendering threads.
Bug: 7675940
Change-Id: I0ec805d1b612afeeecfffec03f982371d27d93be
Diffstat (limited to 'libs/utils/CallStack.cpp')
0 files changed, 0 insertions, 0 deletions