commit | 6bac363cbdca7f5c4135d66c0e379475ecbd7319 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Tue Jul 23 21:50:20 2013 -0700 |
committer | Mathias Agopian <mathias@google.com> | Tue Jul 23 21:55:32 2013 -0700 |
tree | 4d03542e3fb573b092b3ba2585ba9d0ea06da573 | |
parent | 7ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4 [diff] |
Fix a race in BufferQueue BufferQueue::dequeueBuffer() could incorrectly return WOULD_BLOCK while in "cannot block" mode if it happened while a consumer acquired the last allowed buffer before releasing the old one (which is a valid thing to do). Change-Id: I318e5408871ba85e068ea9ef4dc9b578f1bb1043