commit | 5bad6b338d634481615fae808004acc17e9b3c8c | [log] [tgz] |
---|---|---|
author | Haixia Shi <hshi@chromium.org> | Tue May 10 14:43:15 2016 -0700 |
committer | Tomasz Figa <tfiga@chromium.org> | Fri May 13 15:20:32 2016 +0900 |
tree | aca5cea817f437ac20555d98012eab5294c814df | |
parent | f3ac84cca99cc9cd37403f985cbb0ad7a5939f72 [diff] |
platform_android: prevent deadlock in droid_swap_buffers To avoid blocking other EGL calls, release the display mutex before we enqueue buffer to android frameworks and re-acquire the mutex upon return. BUG=b/28654039 TEST=verify pinch zoom no longer causes hangs Change-Id: I8fcddc9a96d8dc0031bbf9285785ac78f3049ac7