replicant-frameworks_native/libs/gui
Dan Stoza ae3c368233 BufferQueue: Guard against unbounded queue growth
Adds logic to dequeueBuffer that blocks if there are currently too
many buffers in the queue. This prevents unbounded growth around
times where the slots are cleared but the queue is not (e.g.,
during rapid connect/disconnect or setBufferCount activity). This
replaces the fix from ag/377958 in a more general way.

Bug: 11293214
Change-Id: Ieb7adfcd076ff7ffe3d4d369397b2c29cf5099c3
2014-04-18 15:50:43 -07:00
..
tests Merge "BufferQueue: Add producer buffer-released callback" 2014-04-11 17:57:12 +00:00
Android.mk BufferQueue: Add producer buffer-released callback 2014-03-31 14:10:07 -07:00
BitTube.cpp fix a few problems with BitTube 2013-09-10 21:10:53 -07:00
BufferItem.cpp Change BufferQueue into producer/consumer wrapper 2014-03-04 15:58:03 -08:00
BufferItemConsumer.cpp BufferItemConsumer: Use IGBC instead of BQ 2014-03-13 11:12:04 -07:00
BufferQueue.cpp Merge "BufferQueue: Add producer buffer-released callback" 2014-04-11 17:57:12 +00:00
BufferQueueConsumer.cpp BufferQueue: Guard against unbounded queue growth 2014-04-18 15:50:43 -07:00
BufferQueueCore.cpp Merge "BufferQueue: Add producer buffer-released callback" 2014-04-11 17:57:12 +00:00
BufferQueueProducer.cpp BufferQueue: Guard against unbounded queue growth 2014-04-18 15:50:43 -07:00
BufferSlot.cpp Change BufferQueue into producer/consumer wrapper 2014-03-04 15:58:03 -08:00
CleanSpec.mk Fix missing parens in CleanSpec.mk. 2012-10-04 20:05:19 -07:00
ConsumerBase.cpp Add sideband streams to BufferQueue and related classes 2014-03-11 12:23:14 -07:00
CpuConsumer.cpp gui: CpuConsumer::lockNextBuffer change return code when too many bufs acquired 2013-08-14 20:17:17 -07:00
DisplayEventReceiver.cpp use a socketpair instead of a pipe in BitTube 2012-04-02 18:41:10 -07:00
GLConsumer.cpp Always release a buffer 2014-04-04 15:37:08 -07:00
GraphicBufferAlloc.cpp SurfaceFlinger: Move GraphicBufferAlloc to libgui 2012-12-11 17:54:29 -08:00
GuiConfig.cpp don't use compile-time configuration of libgui as much as possible 2013-03-29 15:33:47 -07:00
IConsumerListener.cpp Add sideband streams to BufferQueue and related classes 2014-03-11 12:23:14 -07:00
IDisplayEventConnection.cpp
IGraphicBufferAlloc.cpp libgui: add some error checks 2012-08-30 18:38:11 -07:00
IGraphicBufferConsumer.cpp Merge "Declare ownership of native_handle_t object" 2014-04-02 06:13:57 +00:00
IGraphicBufferProducer.cpp Merge "BufferQueue: Add producer buffer-released callback" 2014-04-11 17:57:12 +00:00
IProducerListener.cpp BufferQueue: Add producer buffer-released callback 2014-03-31 14:10:07 -07:00
ISensorEventConnection.cpp Change API from flush(handle) to flush(). Call flush on all active sensors in the given SensorEventConnection. 2013-10-09 17:26:01 -07:00
ISensorServer.cpp improve [un]marshalling of non-binder objects 2012-08-13 02:46:05 -07:00
ISurfaceComposer.cpp Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
ISurfaceComposerClient.cpp Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
LayerState.cpp get rid of Surface identity and token 2013-02-13 15:27:08 -08:00
Sensor.cpp Add stringType and requiredPermission to sensors, effectively adding permission checking for sensors 2014-04-11 00:06:06 +00:00
SensorEventQueue.cpp Change API from flush(handle) to flush(). Call flush on all active sensors in the given SensorEventConnection. 2013-10-09 17:26:01 -07:00
SensorManager.cpp
Surface.cpp BufferQueue: Add producer buffer-released callback 2014-03-31 14:10:07 -07:00
SurfaceComposerClient.cpp Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
SurfaceControl.cpp Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
SyncFeatures.cpp don't use compile-time configuration of libgui as much as possible 2013-03-29 15:33:47 -07:00