tpl_wl_egl_thread: Changed default logs TPL_LOG_B to TPL_LOG_T. 30/137330/1 sandbox/jbko/thread accepted/tizen/unified/20170711.180707 submit/tizen/20170710.074922
authorjoonbum.ko <joonbum.ko@samsung.com>
Wed, 5 Jul 2017 08:26:46 +0000 (17:26 +0900)
committerjoonbum.ko <joonbum.ko@samsung.com>
Wed, 5 Jul 2017 08:26:46 +0000 (17:26 +0900)
Change-Id: I294619a6a88052552165c57c5363f42a5281b515
Signed-off-by: joonbum.ko <joonbum.ko@samsung.com>
src/tpl_wl_egl_thread.c

index 7006a41..f3836d4 100644 (file)
@@ -84,7 +84,7 @@ __tpl_wl_egl_display_init(tpl_display_t *display)
                goto free_display;
        }
 
-       TPL_LOG_B("WL_EGL",
+       TPL_LOG_T("WL_EGL",
                          "[INIT DISPLAY] wayland_egl_display(%p) twe_thread(%p) twe_display(%p)",
                          wayland_egl_display,
                          wayland_egl_display->wl_egl_thread,
@@ -111,7 +111,7 @@ __tpl_wl_egl_display_fini(tpl_display_t *display)
        wayland_egl_display = (tpl_wayland_egl_display_t *)display->backend.data;
        if (wayland_egl_display) {
 
-               TPL_LOG_B("WL_EGL",
+               TPL_LOG_T("WL_EGL",
                                  "[FINI] wayland_egl_display(%p) twe_thread(%p) twe_display(%p)",
                                  wayland_egl_display,
                                  wayland_egl_display->wl_egl_thread,
@@ -252,7 +252,7 @@ __cb_tbm_surface_queue_reset_callback(tbm_surface_queue_h surface_queue,
        wayland_egl_surface = (tpl_wayland_egl_surface_t *)surface->backend.data;
        TPL_CHECK_ON_NULL_RETURN(wayland_egl_surface);
 
-       TPL_LOG_B("WL_EGL",
+       TPL_LOG_T("WL_EGL",
                          "[QUEUE_RESET_CB] tpl_wayland_egl_surface_t(%p) surface_queue(%p)",
                          data, surface_queue);
 
@@ -323,10 +323,10 @@ __tpl_wl_egl_surface_init(tpl_surface_t *surface)
        surface->height = tbm_surface_queue_get_height(tbm_queue);
        surface->rotation = twe_surface_get_rotation(twe_surface);
 
-       TPL_LOG_B("WL_EGL",
+       TPL_LOG_T("WL_EGL",
                          "[INIT1/2]tpl_surface(%p) tpl_wayland_egl_surface(%p) twe_surface(%p)",
                          surface, wayland_egl_surface, twe_surface);
-       TPL_LOG_B("WL_EGL",
+       TPL_LOG_T("WL_EGL",
                          "[INIT2/2]size(%dx%d)rot(%d)|tbm_queue(%p)|native_window(%p)",
                          surface->width, surface->height, surface->rotation,
                          tbm_queue, surface->native_handle);
@@ -359,7 +359,7 @@ __tpl_wl_egl_surface_fini(tpl_surface_t *surface)
        TPL_CHECK_ON_NULL_RETURN(wayland_egl_display);
 
        if (surface->type == TPL_SURFACE_TYPE_WINDOW) {
-               TPL_LOG_B("WL_EGL",
+               TPL_LOG_T("WL_EGL",
                                  "[FINI] wayland_egl_surface(%p) native_window(%p) twe_surface(%p)",
                                  wayland_egl_surface, surface->native_handle,
                                  wayland_egl_surface->twe_surface);
@@ -443,7 +443,7 @@ __tpl_wl_egl_surface_enqueue_buffer(tpl_surface_t *surface,
 
        TRACE_MARK("[ENQ] BO_NAME:%d", bo_name);
 
-       TPL_LOG_B("WL_EGL",
+       TPL_LOG_T("WL_EGL",
                          "[ENQ] wayland_egl_surface(%p) tbm_surface(%p) bo(%d)",
                          wayland_egl_surface, tbm_surface, bo_name);
 
@@ -462,7 +462,7 @@ __tpl_wl_egl_surface_enqueue_buffer(tpl_surface_t *surface,
         * client want to enqueue are the same.
         */
        if (surface->is_frontbuffer_mode && surface->frontbuffer == tbm_surface) {
-               TPL_LOG_B("WL_EGL",
+               TPL_LOG_T("WL_EGL",
                                  "[ENQ_SKIP][F] Client already uses frontbuffer(%p)",
                                  surface->frontbuffer);
 
@@ -553,7 +553,7 @@ __tpl_wl_egl_surface_cancel_dequeued_buffer(tpl_surface_t *surface,
                return TPL_ERROR_INVALID_OPERATION;
        }
 
-       TPL_LOG_B("WL_EGL", "[CANCEL BUFFER] tpl_surface(%p) tbm_surface(%p)",
+       TPL_LOG_T("WL_EGL", "[CANCEL BUFFER] tpl_surface(%p) tbm_surface(%p)",
                          surface, tbm_surface);
 
        return TPL_ERROR_NONE;
@@ -617,7 +617,7 @@ __tpl_wl_egl_surface_dequeue_buffer(tpl_surface_t *surface, uint64_t timeout_ns,
                 * otherwise dequeue the new buffer after initializing
                 * surface->frontbuffer to NULL. */
                if (is_activated) {
-                       TPL_LOG_B("WL_EGL",
+                       TPL_LOG_T("WL_EGL",
                                          "[DEQ][F] surface->frontbuffer(%p) BO_NAME(%d)",
                                          surface->frontbuffer,
                                          tbm_bo_export(tbm_surface_internal_get_bo(
@@ -658,7 +658,7 @@ __tpl_wl_egl_surface_dequeue_buffer(tpl_surface_t *surface, uint64_t timeout_ns,
 
        TRACE_MARK("[DEQ][NEW]BO_NAME:%d", bo_name);
        TRACE_ASYNC_BEGIN((int)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
-       TPL_LOG_B("WL_EGL", "[DEQ][N] tbm_surface(%p) bo(%d)",
+       TPL_LOG_T("WL_EGL", "[DEQ][N] tbm_surface(%p) bo(%d)",
                          tbm_surface, bo_name);
 
        if (lock_ret == TPL_ERROR_NONE)