tpl_wayland_egl_thread: Changed to acquire only if vblank_done state is TPL_TRUE. 74/135174/5
authorjoonbum.ko <joonbum.ko@samsung.com>
Wed, 14 Jun 2017 08:19:55 +0000 (17:19 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 22 Jun 2017 08:56:22 +0000 (08:56 +0000)
commite8888623808afd7598097628acd2615c64e15c37
tree01992439a1ede51c11a712b927e671a08f9258ad
parentafdfb5ee98fda86914294256c2e0648cdec88ccd
tpl_wayland_egl_thread: Changed to acquire only if vblank_done state is TPL_TRUE.

 - The function _twe_thread_wl_surface_acquire_and_commit can be called in both situations.
  One is when acquirable event is received from the main thread,
   and the other is when __cb_tdm_client_wait_vblank callback is called.
  The reason for calling the acquire function in the two situations described
   above is to make only one commit for one vblank.

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