Changed to wait until ENQUEUE becomes FENCE_SIGNALED. 97/254997/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Thu, 11 Mar 2021 07:03:14 +0000 (16:03 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Thu, 11 Mar 2021 07:03:16 +0000 (16:03 +0900)
commit36aa64fc02c00064fcd84e32cb263c0b23f50d6d
treeb16308b76423ef1d1280e45883d382734dff10ad
parent97d8e884ca01403a2ec2ea83737362e895a14ba9
Changed to wait until ENQUEUE becomes FENCE_SIGNALED.

 - It is not safe to force close before being SIGNALED status
  because it is a fence fd delivered from driver.
 - Therefore, it is desirable to destroy all buffers
  when SIGNALED status is guaranteed.

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