e_hwc_windows: add info log about hwc transition 85/268585/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 27 Dec 2021 08:55:26 +0000 (17:55 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Mon, 27 Dec 2021 09:21:20 +0000 (18:21 +0900)
Change-Id: I609c7b6d9bb9dda58d4e8283f59015db869575a1

src/bin/e_hwc_window.c
src/bin/e_hwc_windows.c

index 002d36d1c2f5c45c9081987efbb7189de2d5446f..f0e7d3162e6220da57c8ba607d2dd0c93d9a6ff7 100644 (file)
@@ -2262,10 +2262,10 @@ e_hwc_window_transition_set(E_Hwc_Window *hwc_window, E_Hwc_Window_Transition tr
      e_hwc_window_constraints_reset(hwc_window);
 
    if (transition)
-     EHWTRACE(" [%25s] is on TRANSITION [%s -> %s].",
-              hwc_window->ec, hwc_window->hwc, hwc_window, e_hwc_window_name_get(hwc_window),
-              e_hwc_window_state_string_get(hwc_window->accepted_state),
-              e_hwc_window_state_string_get(hwc_window->state));
+     EHWINF(" [%25s] is on TRANSITION [%s -> %s].",
+            hwc_window->ec, hwc_window->hwc, hwc_window, e_hwc_window_name_get(hwc_window),
+            e_hwc_window_state_string_get(hwc_window->accepted_state),
+            e_hwc_window_state_string_get(hwc_window->state));
 
    return EINA_TRUE;
 }
index 5ca1f54e02f4b9eb75a97acfd75bd781af76d803..63081790b703c0e3d2aa236963c9f77a5a7c5369 100644 (file)
@@ -2210,7 +2210,11 @@ _e_hwc_windows_transition_check(E_Hwc *hwc)
         if (window_transition)
           {
              if (target_window_changed)
-               hwc_window->transition_failures++;
+               {
+                  hwc_window->transition_failures++;
+                  EHWSINF("Increase hwc_window:%p transition failures:%d",
+                          hwc_window->ec, hwc, hwc_window, hwc_window->transition_failures);
+               }
 
              if (window_transition == E_HWC_WINDOW_TRANSITION_CLIENT_TO_NONE)
                {
@@ -2225,6 +2229,10 @@ _e_hwc_windows_transition_check(E_Hwc *hwc)
     if ((display_state_changed) && (client_to_none_transition))
       transition = EINA_TRUE;
 
+    if (transition && target_window_changed)
+      EHWSINF("hwc transition display_state_change:%d client_to_none_transition:%d",
+              NULL, hwc, display_state_changed, client_to_none_transition);
+
     return transition;
 }