summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-03-11 17:59:59 -0700
committerMathias Agopian <mathias@google.com>2013-03-11 17:59:59 -0700
commitd2d5a64aa21cfc548c8c8333d1b36979e5e5a640 (patch)
treefd20adbc883d1c9eef9c8024497ab2959d943368 /opengl/tests/gl_basic/gl_basic.cpp
parentdbca4a0ee5dac0b2f8d0ed4b1667adbf11363e35 (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