diff options
author | Haixia Shi <[email protected]> | 2016-06-02 12:48:23 -0700 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-06-07 12:30:25 +0100 |
commit | 1ea233c6f30a74e6ff5456c3521328237b01eed8 (patch) | |
tree | 702cc07b3964c51679f0608a90610973a97ea85d /Android.mk | |
parent | b7f7ec78435771ab02f7d9a61bb1d4a11df720b8 (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.
v2: moved lock/unlock inside droid_window_enqueue_buffer().
TEST=verify pinch zoom in Photos app no longer causes hangs
Signed-off-by: Haixia Shi <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions