e_hwc_windows: remove fixed name of target window 25/271325/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Fri, 11 Feb 2022 03:01:32 +0000 (12:01 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Fri, 18 Feb 2022 02:16:02 +0000 (11:16 +0900)
Change-Id: Ic4b98734b586ac5757587b13cd9c80367a1dbf7e

src/bin/e_hwc_windows.c

index 0dc31d510baa58dd98f379a4d18600f46d67246e..52e94f27eb20ffad6c94a6930877a1057c6206d8 100644 (file)
@@ -726,7 +726,7 @@ _e_hwc_windows_root_target_buffer_fetch(E_Hwc *hwc)
              if (n_thw)
                {
                   EHWSTRACE("FET {%s} ts:%p state:%s has hwc_windows to render below.",
-                           NULL, hwc, "@ROOT TARGET WINDOW@", hwc_window->current.buffer.tsurface,
+                           NULL, hwc, e_hwc_window_name_get(hwc_window), hwc_window->current.buffer.tsurface,
                            e_hwc_window_state_string_get(hwc_window->state));
 
                   i = 0;
@@ -740,7 +740,7 @@ _e_hwc_windows_root_target_buffer_fetch(E_Hwc *hwc)
                 }
               else
                 EHWSTRACE("FET {%s} ts:%p state:%s has no hwc_windows to render.",
-                         NULL, hwc, "@ROOT TARGET WINDOW@", hwc_window->current.buffer.tsurface,
+                         NULL, hwc, e_hwc_window_name_get(hwc_window), hwc_window->current.buffer.tsurface,
                          e_hwc_window_state_string_get(hwc_window->state));
           }
      }
@@ -773,7 +773,7 @@ _e_hwc_windows_root_target_buffer_fetch(E_Hwc *hwc)
         e_hwc_window_info_update(hwc_window);
 
         EHWSTRACE("FET {%s} ts:%p state:%s",
-                  NULL, hwc, "@ROOT TARGET WINDOW@", hwc_window->current.buffer.tsurface,
+                  NULL, hwc, e_hwc_window_name_get(hwc_window), hwc_window->current.buffer.tsurface,
                   e_hwc_window_state_string_get(hwc_window->state));
      }
 
@@ -847,7 +847,7 @@ _e_hwc_windows_target_buffer_fetch(E_Hwc *hwc)
           }
 
         EHWSTRACE("FET {%s} ts:%p state:%s",
-                  NULL, hwc, "@TARGET WINDOW@",
+                  NULL, hwc, e_hwc_window_name_get(hwc_window),
                   hwc_window->current.buffer.tsurface, e_hwc_window_state_string_get(hwc_window->state));
 
      }
@@ -867,7 +867,7 @@ _e_hwc_windows_target_buffer_fetch(E_Hwc *hwc)
           tdm_hwc_set_client_target_acquire_fence(thwc, -1);
 
         EHWSTRACE("FET {%s} ts:%p state:%s",
-                  NULL, hwc, "@TARGET WINDOW@",
+                  NULL, hwc, e_hwc_window_name_get(hwc_window),
                   hwc_window->current.buffer.tsurface, e_hwc_window_state_string_get(hwc_window->state));
      }
 
@@ -1322,7 +1322,7 @@ _e_hwc_windows_target_window_surface_queue_trace_cb(tbm_surface_queue_h surface_
      {
         if (!target_hwc_window->is_rendering) return;
 
-        EHWSTRACE("{%s} dequeue ts:%p", NULL, target_hwc_window->hwc, "@TARGET WINDOW@", tsurface);
+        EHWSTRACE("{%s} dequeue ts:%p", NULL, target_hwc_window->hwc, e_hwc_window_name_get((E_Hwc_Window *)target_hwc_window), tsurface);
 
         target_hwc_window->dequeued_tsurface = tsurface;
 
@@ -1356,7 +1356,7 @@ _e_hwc_windows_target_window_surface_queue_trace_cb(tbm_surface_queue_h surface_
    /* tsurface has been released at the queue */
    if (trace == TBM_SURFACE_QUEUE_TRACE_RELEASE)
      {
-        EHWSTRACE("{%s} release ts:%p", NULL, target_hwc_window->hwc, "@TARGET WINDOW@", tsurface);
+        EHWSTRACE("{%s} release ts:%p", NULL, target_hwc_window->hwc, e_hwc_window_name_get((E_Hwc_Window *)target_hwc_window), tsurface);
 
         target_hwc_window->rendering_tsurfaces =
           eina_list_remove(target_hwc_window->rendering_tsurfaces, tsurface);
@@ -1622,7 +1622,7 @@ _e_hwc_windows_target_window_render_flush_post_cb(void *data, Evas *e EINA_UNUSE
    Eina_Bool fence_enabled;
    E_Hwc_Window_Queue_Type queue_type;
 
-   EHWSTRACE("{%s} gets render_flush_post noti.", NULL, target_hwc_window->hwc, "@TARGET WINDOW@");
+   EHWSTRACE("{%s} gets render_flush_post noti.", NULL, target_hwc_window->hwc, e_hwc_window_name_get((E_Hwc_Window *)target_hwc_window));
 
    if (!target_hwc_window->dequeued_tsurface)
      {