From: Joonbum Ko Date: Fri, 5 Feb 2021 06:51:39 +0000 (+0900) Subject: Add INFO logs at finalize. X-Git-Tag: submit/tizen/20210316.021228~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e81d64c60902d6cdc74ad9118c5a6fa138adc5d;p=platform%2Fcore%2Fuifw%2Flibtpl-egl.git Add INFO logs at finalize. Change-Id: I26aa6c7b35899b4aa29c2e39d2966c688ccce051 Signed-off-by: Joonbum Ko --- diff --git a/src/tpl_wl_egl.c b/src/tpl_wl_egl.c index c6b47f1..fba6b66 100644 --- a/src/tpl_wl_egl.c +++ b/src/tpl_wl_egl.c @@ -548,20 +548,25 @@ _thread_wl_display_fini(tpl_wl_egl_display_t *wl_egl_display) } if (wl_egl_display->tss) { - TPL_LOG_T("WL_EGL", "tizen_surface_shm(%p) fini.", wl_egl_display->tss); + TPL_INFO("[TIZEN_SURFACE_SHM_DESTROY]", + "wl_egl_display(%p) tizen_surface_shm(%p) fini.", + wl_egl_display, wl_egl_display->tss); tizen_surface_shm_destroy(wl_egl_display->tss); wl_egl_display->tss = NULL; } if (wl_egl_display->presentation) { - TPL_LOG_T("WL_EGL", "wp_presentation(%p) fini.", wl_egl_display->presentation); + TPL_INFO("[WP_PRESENTATION_DESTROY]", + "wl_egl_display(%p) wp_presentation(%p) fini.", + wl_egl_display, wl_egl_display->presentation); wp_presentation_destroy(wl_egl_display->presentation); wl_egl_display->presentation = NULL; } if (wl_egl_display->explicit_sync) { - TPL_LOG_T("WL_EGL", "zwp_linux_explicit_synchronization_v1(%p) fini.", - wl_egl_display->explicit_sync); + TPL_INFO("[EXPLICIT_SYNC_DESTROY]", + "wl_egl_display(%p) zwp_linux_explicit_synchronization_v1(%p) fini.", + wl_egl_display, wl_egl_display->explicit_sync); zwp_linux_explicit_synchronization_v1_destroy(wl_egl_display->explicit_sync); wl_egl_display->explicit_sync = NULL; } @@ -575,10 +580,10 @@ _thread_wl_display_fini(tpl_wl_egl_display_t *wl_egl_display) wl_proxy_set_queue(wl_tbm, NULL); } - TPL_LOG_T("WL_EGL", "wl_tbm_client deinit wl_tbm_client(%p)", - wl_egl_display->wl_tbm_client); + TPL_INFO("[WL_TBM_DEINIT]", + "wl_egl_display(%p) wl_tbm_client(%p)", + wl_egl_display, wl_egl_display->wl_tbm_client); wayland_tbm_client_deinit(wl_egl_display->wl_tbm_client); - wl_egl_display->wl_tbm_client = NULL; } @@ -586,8 +591,8 @@ _thread_wl_display_fini(tpl_wl_egl_display_t *wl_egl_display) wl_egl_display->wl_initialized = TPL_FALSE; - TPL_LOG_T("WL_EGL", "[FINI] wl_display(%p)", - wl_egl_display->wl_display); + TPL_INFO("[DISPLAY_FINI]", "wl_egl_display(%p) wl_display(%p)", + wl_egl_display, wl_egl_display->wl_display); } static void* @@ -846,8 +851,8 @@ __tpl_wl_egl_display_fini(tpl_display_t *display) wl_egl_display = (tpl_wl_egl_display_t *)display->backend.data; if (wl_egl_display) { - TPL_LOG_T("WL_EGL", - "[FINI] wl_egl_display(%p) tpl_gthread(%p) wl_display(%p)", + TPL_INFO("[DISPLAY_FINI]", + "wl_egl_display(%p) tpl_gthread(%p) wl_display(%p)", wl_egl_display, wl_egl_display->thread, wl_egl_display->wl_display); @@ -1896,6 +1901,8 @@ __tpl_wl_egl_surface_fini(tpl_surface_t *surface) tpl_gsource_destroy(wl_egl_surface->surf_source, TPL_TRUE); wl_egl_surface->surf_source = NULL; + _print_buffer_lists(wl_egl_surface); + if (wl_egl_surface->wl_egl_window) { struct tizen_private *tizen_private = NULL; struct wl_egl_window *wl_egl_window = wl_egl_surface->wl_egl_window;