Go to file
Antoine Labour ea96044470 BufferQueue: release mutex while allocating.
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
2014-07-16 14:43:19 -07:00
build Add Dalvik heap definition for 7" xhdpi devices. 2013-05-06 15:06:20 -07:00
cmds Add MAC for remaining service_manager functionality. 2014-07-15 10:11:33 -07:00
data/etc Add HDMI-CEC feature xml. 2014-07-11 15:37:33 +09:00
include BufferQueue: release mutex while allocating. 2014-07-16 14:43:19 -07:00
libs BufferQueue: release mutex while allocating. 2014-07-16 14:43:19 -07:00
opengl Add data capturing of glCompressedTexImage2D and glCompressedTexSubImage2D calls. 2014-07-07 11:57:45 +01:00
services am fb3e63fc: am 7869e224: CW on L: Fix a SIGSEGV crash in sensor service. 2014-07-15 22:02:23 +00:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE resolved conflicts for merge of adee6b35 to honeycomb-plus-aosp 2011-01-17 14:17:12 -08:00