Expand the condition of need_to_wait in buffer_clear. 50/258550/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Tue, 18 May 2021 08:28:29 +0000 (17:28 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Thu, 20 May 2021 05:37:04 +0000 (14:37 +0900)
commit5dc1cd788f0f152d67b262d9b5a4d075b9a445cf
tree8075bf89aa7734761b5069aaecf3d5d4e5940197
parent3fc8687e11ef6428f6f9f2b70b931be65ce272b4
Expand the condition of need_to_wait in buffer_clear.

 - AS-IS : The need_to_wait flags is set to true under
          different conditions according to the use of
          explicit_sync.
 - PROBLEMS : A buffer that is not included in the condition
             may cause thread conflict.
 - TO-BE : The buffers whose status is from ENQUEUED to COMMITTED
          will be cleared after waiting until wl_surface_commit.

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