Hi Haixia Shi,
On 26 May 2016 at 00:02, Haixia Shi wrote:
> @@ -434,8 +434,15 @@ droid_swap_buffers(_EGLDriver *drv, _EGLDisplay *disp,
> _EGLSurface *draw)
>
> dri2_flush_drawable_for_swapbuffers(disp, draw);
>
> - if (dri2_surf->buffer)
> + if (dri2_surf->buffer) {
> + /* To avoi
To avoid blocking other EGL calls, release the display mutex before
we enqueue buffer to android frameworks and re-acquire the mutex
upon return.
TEST=verify pinch zoom in Photos app no longer causes hangs
Signed-off-by: Haixia Shi
---
src/egl/drivers/dri2/platform_android.c | 9 -
1 fi