diff options
| author | Pablo Ceballos <pceballos@google.com> | 2016-05-05 13:49:03 -0700 |
|---|---|---|
| committer | Pablo Ceballos <pceballos@google.com> | 2016-05-05 13:49:03 -0700 |
| commit | adf51bac81fa28637d00227a44d7b20ea035980a (patch) | |
| tree | 63ddcd5415205f8c64876bb5832f4bfca2224a51 /opengl/tests/gl_basic/gl_basic.cpp | |
| parent | 9a8ddb6e71605d5304226234ed01cedccf54e849 (diff) | |
BQ: Fix segfault in dump()
When dequeueBuffer() is called we put the slot in mActiveBuffers, then
don't hold the BufferQueue lock while allocation occurs. So a slot
might be in mActiveBuffers but not have a buffer attached yet. Prevent
the dump function from segfaulting in this case.
Bug 27128710
Change-Id: Ie1480c0f9b2544554fc3281045e55ad30605e6ec
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions
