modify the locking buffer->mutex to include surface_commit 97/304497/1
authorjinbong, Lee <jinbong.lee@samsung.com>
Tue, 19 Sep 2023 04:50:56 +0000 (13:50 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Fri, 12 Jan 2024 12:06:09 +0000 (21:06 +0900)
commite35a63a5f318369eefad91c57f4ccb344a38090d
tree8a9b819f4a0ce1eca5bada87597269b0508052c1
parent8bd30b062e383ae9c393d57f9817366fa3a02bd9
modify the locking buffer->mutex to include surface_commit

 - In the case when _thread_wl_surface_commit() is called after
  the mutex of wl_egl_buffer has been unlocked in the thread,
  the wl_egl_buffer may be freed in the parent thread.
 - In that case, a problem occurs during commit operation.
  Therefore, the buffer must be maintained until the commit is completed.

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