From: Joonbum Ko Date: Tue, 6 Dec 2022 08:51:24 +0000 (+0900) Subject: wl_egl: Delete calling wait_idle in surface_fini X-Git-Tag: accepted/tizen/unified/20230116.060903~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F42%2F286742%2F1;p=platform%2Fcore%2Fuifw%2Flibtpl-egl.git wl_egl: Delete calling wait_idle in surface_fini - tpl_gthread_wait_idle will be called in tpl_gthread_pause_in_idle() tpl_gthread_pause_in_idle will be called in buffer_clear() So, calling wait_idle() is duplicated & meaningless operation Change-Id: I50b2aa2e73f5a22be5860ab3e6be241def2d862f Signed-off-by: Joonbum Ko --- diff --git a/src/tpl_wl_egl_thread.c b/src/tpl_wl_egl_thread.c index 6804f2c..e780787 100755 --- a/src/tpl_wl_egl_thread.c +++ b/src/tpl_wl_egl_thread.c @@ -2179,8 +2179,6 @@ __tpl_wl_egl_surface_fini(tpl_surface_t *surface) wl_egl_surface, wl_egl_surface->wl_surface, wl_egl_surface->tbm_queue); - tpl_gthread_wait_idle(wl_egl_display->thread); - _tpl_wl_egl_surface_buffer_clear(wl_egl_surface); if (wl_egl_surface->surf_source) {