Make ready_to_commit to TRUE when acquire_fence_fd is not used. 17/255917/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Thu, 25 Mar 2021 04:13:51 +0000 (13:13 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Thu, 25 Mar 2021 04:13:54 +0000 (13:13 +0900)
 - Missig this line caused a serious problem where wl_surface_commit
  would not work if acquire_fence_fd was not used.

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

index d79e3af..041f163 100755 (executable)
@@ -2667,6 +2667,8 @@ _thread_surface_queue_acquire(tpl_wl_egl_surface_t *wl_egl_surface)
 
                                ready_to_commit = TPL_FALSE;
                        }
+               } else {
+                       ready_to_commit = TPL_TRUE;
                }
 
                if (ready_to_commit) {