replicant-frameworks_native/include/gui
Antoine Labour 78014f32da BufferQueue: release mutex while allocating. DO NOT MERGE
BufferQueueProducer::allocateBuffers used to keep the BufferQueueCore
mutex while doing the buffer allocation, which would cause the consumer
(which also needs the mutex) to block if the allocation takes a long
time.
Instead, release the mutex while doing the allocation, and grab it again
before filling the slots. Keep a bool state and a condvar to prevent
other producers from trying to allocate the slots while the mutex is
released.

Bug: 11792166

Change-Id: I4ab1319995ef892be2beba892f1fdbf50ce0416d
(cherry picked from commit ea96044470)
2014-07-22 19:45:55 +00:00
..
BitTube.h
BufferItem.h
BufferItemConsumer.h
BufferQueue.h Remove deprecated BufferQueue constructor 2014-04-22 14:12:55 -07:00
BufferQueueConsumer.h BufferQueue: Increase max slots from 32 to 64 2014-04-18 11:40:14 -07:00
BufferQueueCore.h BufferQueue: release mutex while allocating. DO NOT MERGE 2014-07-22 19:45:55 +00:00
BufferQueueDefs.h BufferQueue: Increase max slots from 32 to 64 2014-04-18 11:40:14 -07:00
BufferQueueProducer.h Add sticky transform to surfaceflinger. 2014-07-14 22:14:32 +00:00
BufferSlot.h
ConsumerBase.h
CpuConsumer.h
DisplayEventReceiver.h
GLConsumer.h GLConsumer: Allow creation in detached mode 2014-06-25 15:00:48 -07:00
GraphicBufferAlloc.h
GuiConfig.h
IConsumerListener.h
IDisplayEventConnection.h
IGraphicBufferAlloc.h
IGraphicBufferConsumer.h Merge "BufferQueue: Increase max slots from 32 to 64" 2014-04-21 16:11:22 +00:00
IGraphicBufferProducer.h Add sticky transform to surfaceflinger. 2014-07-14 22:14:32 +00:00
IProducerListener.h
ISensorEventConnection.h Enable wakeup sensors. 2014-04-23 14:38:56 -07:00
ISensorServer.h
ISurfaceComposer.h surfaceflinger: Replace blank/unblank with setPowerMode 2014-06-05 16:35:52 -07:00
ISurfaceComposerClient.h
Sensor.h Surface reportingMode for Sensors. 2014-06-12 14:49:41 -07:00
SensorEventQueue.h Enable wakeup sensors. 2014-04-23 14:38:56 -07:00
SensorManager.h
StreamSplitter.h BufferQueue: Add StreamSplitter 2014-04-15 10:34:10 -07:00
Surface.h Add sticky transform to surfaceflinger. 2014-07-14 22:14:32 +00:00
SurfaceComposerClient.h surfaceflinger: Replace blank/unblank with setPowerMode 2014-06-05 16:35:52 -07:00
SurfaceControl.h