- Rarely, even if client cannot receive vblank event from tdm server,
timeout may occur in can_dequeue.
- In this case, if wl_egl_surface->vblank_done flag
is not initialized to TPL_TRUE, problem situation may occur
waiting vblank without calling tdm_client_vblank_wait
after force_flush(can_dequeue_timeout).
Change-Id: If3f8eee13b5ae91a3728f189f53aa25720696b12
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
tsq_err = TBM_SURFACE_QUEUE_ERROR_NONE;
}
+ wl_egl_surface->vblank_done = TPL_TRUE;
+
tpl_gmutex_unlock(&wl_egl_display->wl_event_mutex);
tpl_gthread_continue(wl_egl_display->thread);
}