tpl_wayland_egl_thread: Partially modified event_fd processing method. 91/165691/3
authorjoonbum.ko <joonbum.ko@samsung.com>
Tue, 2 Jan 2018 10:34:45 +0000 (19:34 +0900)
committerjoonbum.ko <joonbum.ko@samsung.com>
Wed, 3 Jan 2018 09:25:28 +0000 (18:25 +0900)
commit85329f71c77c11d0728a16110821069d5a7c35f8
treeaf2d6a398c1dcb75e79044882d586682279832b7
parent7133e8bfdb37f0de9a98dd8bd09503df37c86eca
tpl_wayland_egl_thread: Partially modified event_fd processing method.

 - Partially modified the way event_fd is handled between vk_sub_thread and twe_thread.
 - Twe buffers are in draw_done state and write twice to event_fd to send event,
  but in twe_thread, event_fd may be read only once, and only one buffer may be acquired.
 - Supplemented it by adding draw_done_count to surf_source.
 - It is a valid patch only while using vk_sub_thread.

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