diff options
| author | Mathias Agopian <mathias@google.com> | 2013-03-11 17:59:59 -0700 |
|---|---|---|
| committer | Mathias Agopian <mathias@google.com> | 2013-03-11 17:59:59 -0700 |
| commit | d2d5a64aa21cfc548c8c8333d1b36979e5e5a640 (patch) | |
| tree | fd20adbc883d1c9eef9c8024497ab2959d943368 /opengl/tests/gl_basic/gl_basic.cpp | |
| 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
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions
