Go to file
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
build Add Dalvik heap definition for 7" xhdpi devices. 2013-05-06 15:06:20 -07:00
cmds Always #include <sys/...>, not <linux/...>. 2014-07-18 18:19:54 -07:00
data/etc Add OpenGL ES AEP feature xml. 2014-07-18 14:25:39 -07:00
include BufferQueue: release mutex while allocating. DO NOT MERGE 2014-07-22 19:45:55 +00:00
libs BufferQueue: release mutex while allocating. DO NOT MERGE 2014-07-22 19:45:55 +00:00
opengl Use the count parameter to store all the uniform vectors, not just the first one. DO NOT MERGE. 2014-07-21 09:52:48 +00:00
services CW on L: Fix a SIGSEGV crash in sensor service. 2014-07-15 11:10:44 -07: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