use info level dlog in function realeted tbm_surface_queue 61/107761/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 28 Dec 2016 05:53:31 +0000 (14:53 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Wed, 28 Dec 2016 05:54:36 +0000 (14:54 +0900)
Change-Id: I44fec6a9fe8fa81e5cd04c9d9fa3de844dbdbd8e

src/wayland-tbm-client.c

index 4cabf84..e9a4f58 100644 (file)
@@ -187,7 +187,7 @@ handle_tbm_buffer_import_with_id(void *data,
        WL_TBM_GOTO_IF_FAIL(tbm_surface != NULL, fail);
        wl_buffer_set_user_data(wl_buffer, tbm_surface);
 
-       WL_TBM_LOG_E("import id wl_buffer:%u tsurface:%p", (unsigned int)wl_proxy_get_id((struct wl_proxy *)wl_buffer), tbm_surface);
+       WL_TBM_LOG("import id wl_buffer:%u tsurface:%p", (unsigned int)wl_proxy_get_id((struct wl_proxy *)wl_buffer), tbm_surface);
 
        snprintf(debug_id, sizeof(debug_id), "%u", (unsigned int)wl_proxy_get_id((struct wl_proxy *)wl_buffer));
        tbm_surface_internal_set_debug_data(tbm_surface, "id", debug_id);
@@ -829,7 +829,7 @@ handle_tbm_queue_buffer_attached(void *data,
 
        WL_TBM_RETURN_IF_FAIL(wl_buffer != NULL);
 
-       WL_TBM_LOG_E("attached wl_buffer:%u",
+       WL_TBM_LOG("attached wl_buffer:%u",
                (unsigned int)wl_proxy_get_id((struct wl_proxy *)wl_buffer));
 
        buffer = calloc(1, sizeof(struct wayland_tbm_buffer));
@@ -870,7 +870,7 @@ handle_tbm_queue_active(void *data,
        struct wayland_tbm_surface_queue *queue_info =
                                (struct wayland_tbm_surface_queue *)data;
 
-       WL_TBM_LOG_E("active queue\n");
+       WL_TBM_LOG("active queue\n");
 
        if (queue_info->is_active) {
                WL_TBM_C_LOG("warning: queue_info is already activated\n");
@@ -898,7 +898,7 @@ handle_tbm_queue_deactive(void *data,
        WL_TBM_TRACE("                  pid:%d\n", getpid());
 #endif
 
-       WL_TBM_LOG_E("deactive queue\n");
+       WL_TBM_LOG("deactive queue\n");
 
        if (!queue_info->is_active) {
                WL_TBM_C_LOG("warning: queue_info is already deactivated\n");
@@ -921,7 +921,7 @@ handle_tbm_queue_flush(void *data,
 #ifdef DEBUG_TRACE
        WL_TBM_TRACE("pid:%d\n", getpid());
 #endif
-       WL_TBM_LOG_E("flush queue\n");
+       WL_TBM_LOG("flush queue\n");
 
        if (queue_info->is_active) {
                WL_TBM_C_LOG("warning: Cannot flush the tbm_surface_queueu. The queue is activate.\n");