replicant-frameworks_native/libs/gui
Jamie Gennis b21a4e3b5f 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
2012-12-06 18:17:35 -08: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 fix typo that broke all the builds 2012-11-19 16:50:24 -08:00
CleanSpec.mk Fix missing parens in CleanSpec.mk. 2012-10-04 20:05:19 -07:00
ConsumerBase.cpp ConsumerBase: free buffers outside the lock 2012-12-06 18:17:35 -08:00
CpuConsumer.cpp Add Fence::waitForever which logs a warning timeout, and use it 2012-10-02 16:29:46 -07:00
DisplayEventReceiver.cpp use a socketpair instead of a pipe in BitTube 2012-04-02 18:41:10 -07:00
DummyConsumer.cpp Refactored DummyConsumer 2012-03-27 16:47:12 -07:00
GuiConfig.cpp libgui: fix up compile options 2012-10-03 15:05:58 -07:00
IDisplayEventConnection.cpp Improve the VSYNC api a bit. 2011-12-06 22:43:10 -08:00
IGraphicBufferAlloc.cpp libgui: add some error checks 2012-08-30 18:38:11 -07:00
ISensorEventConnection.cpp Rename SensorChannel to BitTube 2011-10-20 18:42:02 -07:00
ISensorServer.cpp improve [un]marshalling of non-binder objects 2012-08-13 02:46:05 -07:00
ISurface.cpp fix libgui header location 2012-02-27 13:03:08 -08:00
ISurfaceComposer.cpp SurfaceFlinger: add support for secure displays 2012-10-22 13:41:21 -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 Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE 2012-01-08 13:19:13 +00:00
Surface.cpp Remove unused "layer" argument from show(). 2012-08-27 14:40:17 -07:00
SurfaceComposerClient.cpp SurfaceFlinger: add support for secure displays 2012-10-22 13:41:21 -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