replicant-frameworks_native/libs/gui
Jamie Gennis 1efe099a51 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
2012-10-11 20:08:26 -07:00
..
tests New test 2012-09-16 12:53:41 -07:00
Android.mk libgui: enable fence support for exynos5 2012-10-03 15:55:14 -07:00
BitTube.cpp return errors properly in BitTube and SensorEventQueue 2012-05-07 18:22:16 -07:00
BufferItemConsumer.cpp Fix race condition in ConsumerBase::addReleaseFence() 2012-10-05 14:40:50 -07:00
BufferQueue.cpp BufferQueue: alloc without holding the lock 2012-10-11 20:08:26 -07:00
CleanSpec.mk Fix missing parens in CleanSpec.mk. 2012-10-04 20:05:19 -07:00
ConsumerBase.cpp Fix race condition in ConsumerBase::addReleaseFence() 2012-10-05 14:40:50 -07:00
CpuConsumer.cpp Add Fence::waitForever which logs a warning timeout, and use it 2012-10-02 16:29:46 -07:00
DisplayEventReceiver.cpp
DummyConsumer.cpp
GuiConfig.cpp libgui: fix up compile options 2012-10-03 15:05:58 -07:00
IDisplayEventConnection.cpp
IGraphicBufferAlloc.cpp libgui: add some error checks 2012-08-30 18:38:11 -07:00
ISensorEventConnection.cpp
ISensorServer.cpp improve [un]marshalling of non-binder objects 2012-08-13 02:46:05 -07:00
ISurface.cpp
ISurfaceComposer.cpp Pass display arg to blank/unblank 2012-09-28 13:04:16 -07:00
ISurfaceComposerClient.cpp Banish DisplayID from the SurfaceFlinger API. 2012-08-27 14:40:17 -07:00
ISurfaceTexture.cpp Pass fences with buffers from SurfaceTextureClient 2012-06-30 21:38:51 -07:00
LayerState.cpp improve [un]marshalling of non-binder objects 2012-08-13 02:46:05 -07:00
Sensor.cpp improve [un]marshalling of non-binder objects 2012-08-13 02:46:05 -07:00
SensorEventQueue.cpp return errors properly in BitTube and SensorEventQueue 2012-05-07 18:22:16 -07:00
SensorManager.cpp
Surface.cpp Remove unused "layer" argument from show(). 2012-08-27 14:40:17 -07:00
SurfaceComposerClient.cpp Add blankDisplay/unblankDisplay to SurfaceComposerClient. 2012-10-08 19:13:57 -07:00
SurfaceTexture.cpp Fix race condition in ConsumerBase::addReleaseFence() 2012-10-05 14:40:50 -07:00
SurfaceTextureClient.cpp Add Fence::waitForever which logs a warning timeout, and use it 2012-10-02 16:29:46 -07:00