wl_egl: Apply pause and wait_idle at buffer clear 13/284513/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Thu, 17 Nov 2022 08:33:11 +0000 (17:33 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Fri, 18 Nov 2022 08:41:02 +0000 (17:41 +0900)
commitda2fa54fd367453ca8d0261856494b5106d9d351
tree4f0b8ee01cd3b3dead4fa690a540062755be87b4
parentb95029e498082dd8baf49d55213c9557155a196b
wl_egl: Apply pause and wait_idle at buffer clear

 AS-IS
  Using wl_event_mutex lock to pause thread.
  Using wl_event_mutex is not good way to pause thread
 because locking wl_event_mutex can effect other wayland threads.

 TO-BE
  Using tpl_gthread_pause_in_idle is better way than before.
  Because locking on idle allows thread to handle other tasks.

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