tpl_wayland_egl_thread: Fixed a bug to prevent tearing. 77/188177/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Thu, 30 Aug 2018 07:17:02 +0000 (16:17 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Thu, 30 Aug 2018 07:53:08 +0000 (16:53 +0900)
commit5669f756b3e43fa3ce7b6d86ccf051b0072df311
tree73084038dc55546e42fbcbd8dd8b6bee08d638bc
parentf15688c950ee6528077fcdd55f9e504416e473df
tpl_wayland_egl_thread: Fixed a bug to prevent tearing.

 - In the case of vulkan, the meaning of enqueue is not render_done state.
   Therefore, vulkan surface should check the can_acquire count
    in the dirty_queue of tbm_queue as well as the draw_done_count
    of surf_source.

Change-Id: Ibdd3e2438ac158fa78d2f897ae83f1cceb289efb
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
src/tpl_wayland_egl_thread.c