wl_event_queue_destroy(disp_source->ev_queue);
g_mutex_unlock(&disp_source->wl_event_mutex);
- TPL_LOG_T(BACKEND, "[DEL] twe_display(%p) wl_display(%p)",
- disp_source, disp_source->disp);
+ TPL_INFO("[DISPLAY_DEL]", "twe_display(%p) wl_display(%p)",
+ disp_source, disp_source->disp);
g_mutex_clear(&disp_source->wl_event_mutex);
g_source_add_poll(&source->gsource, &source->gfd);
g_source_attach(&source->gsource, g_main_loop_get_context(ctx->twe_loop));
- TPL_LOG_T(BACKEND, "add| gsource(%p) ev_queue(%p) wl_display(%p)",
- source, source->ev_queue, display);
+ TPL_INFO("[DISPLAY_ADD]", "gsource(%p) ev_queue(%p) wl_display(%p)",
+ source, source->ev_queue, display);
return (twe_display_h)source;
}
g_mutex_lock(&_twe_ctx->thread_mutex);
+ TPL_INFO("[DISPLAY_DEL]", "twe_display(%p) will be destroyed in thread",
+ twe_display);
_twe_thread_del_source_trigger(disp_del_source);
g_cond_wait(&_twe_ctx->thread_cond, &_twe_ctx->thread_mutex);
g_mutex_unlock(&_twe_ctx->thread_mutex);
twe_wl_surf_source *surf_source = buf_info->surf_source;
twe_wl_disp_source *disp_source = surf_source->disp_source;
- TPL_LOG_T(BACKEND, "[FREE] twe_buffer(%p) wl_buffer(%p)",
- buf_info, buf_info->wl_buffer);
+ TPL_INFO("[BUFFER_FREE]", "buf_info(%p) wl_buffer(%p) tbm_surface(%p)",
+ buf_info, buf_info->wl_buffer, buf_info->tbm_surface);
wl_display_flush(disp_source->disp);
TRACE_MARK("[SET_BUFFER_INFO] BO(%d)",
_get_tbm_surface_bo_name(tbm_surface));
- TPL_LOG_T(BACKEND,
- "[NEW_BUF] buf_info(%p) tbm_surface(%p) bo(%d) (%dx%d) "
- "transform(%d) w_transform(%d)",
- buf_info, tbm_surface,
- _get_tbm_surface_bo_name(tbm_surface),
- buf_info->width, buf_info->height,
- buf_info->transform, buf_info->w_transform);
+ TPL_INFO("[NEW_BUFFER_CREATED]",
+ "buf_info(%p) tbm_surface(%p) bo(%d) (%dx%d) transform(%d) w_transform(%d)",
+ buf_info, tbm_surface,
+ _get_tbm_surface_bo_name(tbm_surface),
+ buf_info->width, buf_info->height,
+ buf_info->transform, buf_info->w_transform);
}
static void
g_mutex_lock(&surf_source->surf_mutex);
g_mutex_lock(&surf_source->presentation_sync.mutex);
+
+ TPL_INFO("[TWE_SURFACE_DESTROY]",
+ "surf_source(%p) wl_egl_window(%p) wl_surface(%p)",
+ surf_source, surf_source->wl_egl_window, surf_source->surf);
+
if (disp_source->presentation && surf_source->presentation_feedbacks) {
while (!__tpl_list_is_empty(surf_source->presentation_feedbacks)) {
tbm_surface_h tbm_surface =
}
if (surf_source->surface_sync) {
- TPL_LOG_T(BACKEND,
- "[SURFACE_SYNC FINI] twe_wl_surf_source(%p) surface_sync(%p)",
+ TPL_INFO("[SURFACE_SYNC FINI]", "twe_wl_surf_source(%p) surface_sync(%p)",
surf_source, surf_source->surface_sync);
zwp_linux_surface_synchronization_v1_destroy(surf_source->surface_sync);
surf_source->surface_sync = NULL;
}
if (surf_source->vblank) {
- TPL_LOG_T(BACKEND, "[VBLANK FINI] twe_wl_surf_source(%p) vblank(%p)",
- surf_source, surf_source->vblank);
+ TPL_INFO("[VBLANK FINI]",
+ "twe_wl_surf_source(%p) vblank(%p)",
+ surf_source, surf_source->vblank);
tdm_client_vblank_destroy(surf_source->vblank);
surf_source->vblank = NULL;
}
if (surf_source->wl_egl_window) {
struct tizen_private *tizen_private = NULL;
- TPL_LOG_T(BACKEND, "twe_surface(%p) wl_egl_window(%p) wl_surface(%p)",
- surf_source, surf_source->wl_egl_window, surf_source->surf);
+ TPL_INFO("[WINDOW_FINI]", "twe_surface(%p) wl_egl_window(%p) wl_surface(%p)",
+ surf_source, surf_source->wl_egl_window, surf_source->surf);
tizen_private = _get_tizen_private(surf_source->wl_egl_window);
if (tizen_private) {
tizen_private->set_window_serial_callback = NULL;
g_mutex_init(&source->free_queue_mutex);
g_cond_init(&source->free_queue_cond);
- TPL_LOG_T(BACKEND,
- "gsource(%p) native_handle(%p) wl_surface(%p) event_fd(%d)",
- source, native_handle, source->surf, source->event_fd);
+ TPL_INFO("[SURFACE_ADD]", "gsource(%p) wl_surface(%p) event_fd(%d)",
+ source, source->surf, source->event_fd);
return (twe_surface_h)source;
}
}
}
- TPL_LOG_T(BACKEND, "twe_surface(%p) will be destroyed in thread",
- twe_surface);
+ TPL_INFO("[SURFACE_DEL]", "twe_surface(%p) will be destroyed in thread",
+ twe_surface);
surf_del_source = surf_source->surf_del_source;
g_mutex_lock(&_twe_ctx->thread_mutex);