tpl_wayland_egl_thread: Added an internal API to set sync fence fd to buffer. 68/161968/2
authorjoonbum.ko <joonbum.ko@samsung.com>
Wed, 11 Oct 2017 08:53:58 +0000 (17:53 +0900)
committerjoonbum.ko <joonbum.ko@samsung.com>
Tue, 28 Nov 2017 10:46:53 +0000 (19:46 +0900)
commit26b1d26b9e5ccf183ec5edf70848ce6e6eea548b
tree1e50fae33003c32460e22f4c6c9c6b3d10b00b02
parent4d1c06c164019dbf29eef2adf6f8fa4985ed7584
tpl_wayland_egl_thread: Added an internal API to set sync fence fd to buffer.

 - The newly created sub-thread waits for draw_done via sync fence fd
  and sends the acquirable event to eventfd of surf_source
  when the drawing is completed.
 - The newly created  sub-thread will be destroyed after sending the acquirable event.

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