commit | d2d5a64aa21cfc548c8c8333d1b36979e5e5a640 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Mon Mar 11 17:59:59 2013 -0700 |
committer | Mathias Agopian <mathias@google.com> | Mon Mar 11 17:59:59 2013 -0700 |
tree | fd20adbc883d1c9eef9c8024497ab2959d943368 | |
parent | dbca4a0ee5dac0b2f8d0ed4b1667adbf11363e35 [diff] |
workaround a deadlock when taking screenshots into a surface When disconnecting from BufferQueue, we now drain the queue except the head (which means in the screenshot case we won't have to block, but we might not have a buffer to show, this will appear as an error in the log). Bug: 8362363 Change-Id: If80989aac3c917beea2ebddf3cbb502849d394da