add log for ec's argb value 92/237492/2
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 1 Jul 2020 02:12:05 +0000 (11:12 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 1 Jul 2020 04:11:37 +0000 (13:11 +0900)
Change-Id: Ief6fcbeb0d2b328db22cde758659b59f75115415

src/bin/e_client.c
src/bin/e_comp_wl.c
src/bin/e_comp_wl_input.c
src/bin/e_comp_wl_subsurface.c
src/bin/e_policy_visibility.c
src/bin/e_policy_wl.c

index fbddbe369b1573c17c780c27d6406627075833d5..50296017de6c43f24dedfd678fa423f751df2b43 100644 (file)
@@ -4357,7 +4357,7 @@ e_client_new(E_Pixmap *cp, int first_map, int internal)
    e_comp->clients = eina_list_append(e_comp->clients, ec);
    eina_hash_add(clients_hash[e_pixmap_type_get(cp)], &ec->pixmap, ec);
 
-   ELOGF("COMP", "CLIENT ADD. cp:%p", ec, cp);
+   ELOGF("COMP", "CLIENT ADD. cp:%p, argb:%d", ec, cp, ec->argb);
    if (!ec->ignored)
      _e_client_event_add(ec);
    e_comp_object_client_add(ec);
@@ -6054,8 +6054,8 @@ e_client_iconify(E_Client *ec)
    E_OBJECT_CHECK(ec);
    E_OBJECT_TYPE_CHECK(ec, E_CLIENT_TYPE);
 
-   ELOGF("TZVIS", "ICONIFY  |not_raise:%d       |by_client:%d",
-         ec, (unsigned int)ec->exp_iconify.not_raise,
+   ELOGF("TZVIS", "ICONIFY  |iconic:%d  |argb:%d       |not_raise:%d   |by_client:%d",
+         ec, ec->iconic, ec->argb, (unsigned int)ec->exp_iconify.not_raise,
          ec->exp_iconify.by_client);
 
    if (!ec->zone) return;
@@ -6113,8 +6113,8 @@ e_client_uniconify(E_Client *ec)
    E_OBJECT_CHECK(ec);
    E_OBJECT_TYPE_CHECK(ec, E_CLIENT_TYPE);
 
-   ELOGF("TZVIS", "UNICONIFY|not_raise:%d       |by_client:%d\t| mapped:%d",
-         ec, (unsigned int)ec->exp_iconify.not_raise,
+   ELOGF("TZVIS", "UNICONIFY|iconic:%d  |argb:%d       |not_raise:%d  |by_client:%d  |mapped:%d",
+         ec, ec->iconic, ec->argb, (unsigned int)ec->exp_iconify.not_raise,
          ec->exp_iconify.by_client,
          ec->comp_data ? ec->comp_data->mapped : 0);
 
index d8d644b1aca363c3b4301c4a85d35051b10b51df..25bb7c61346958caf19c0c160e1549fe38acdd30 100644 (file)
@@ -2886,6 +2886,7 @@ _e_comp_wl_surface_cb_opaque_region_set(struct wl_client *client EINA_UNUSED, st
              if (ec->argb)
                {
                   ec->argb = EINA_FALSE;
+                  ELOGF("COMP", "Set argb:%d", ec, ec->argb);
                   EC_CHANGED(ec);
                   e_comp_object_alpha_set(ec->frame, EINA_FALSE);
                }
@@ -2896,6 +2897,7 @@ _e_comp_wl_surface_cb_opaque_region_set(struct wl_client *client EINA_UNUSED, st
         if (!ec->argb)
           {
              ec->argb = EINA_TRUE;
+             ELOGF("COMP", "Set argb:%d", ec, ec->argb);
              EC_CHANGED(ec);
              e_comp_object_alpha_set(ec->frame, EINA_TRUE);
           }
index f3c494875e791f90c0e1252019c0329af1564b62..bb99893f0d9cf95f4de6c056455254638e542b71 100644 (file)
@@ -115,6 +115,7 @@ _e_comp_wl_input_pointer_cb_cursor_set(struct wl_client *client, struct wl_resou
         e_client_focus_stack_set(eina_list_remove(e_client_focus_stack_get(), ec));
         /* wl_pointer-cursor surface is always alpha window */
         ec->argb = EINA_TRUE;
+        ELOGF("COMP", "Set argb:%d", ec, ec->argb);
         e_comp_object_alpha_set(ec->frame, EINA_TRUE);
         EC_CHANGED(ec);
 
index 20e73dc64aef9d0b02318271c406659d34d840df..846e3233bd212d666b135d9f31407b845e9f3020 100644 (file)
@@ -901,6 +901,7 @@ e_comp_wl_subsurface_create(E_Client *ec, E_Client *epc, uint32_t id, struct wl_
    /* set subsurface client properties */
    ec->borderless = EINA_TRUE;
    ec->argb = EINA_TRUE;
+   ELOGF("COMP", "Set argb:%d", ec, ec->argb);
    ec->lock_border = EINA_TRUE;
    ec->lock_focus_in = ec->lock_focus_out = EINA_TRUE;
    ec->netwm.state.skip_taskbar = EINA_TRUE;
index e30b3ea99d5c5aede965d83ce235f5d96f071883..faa2ce5702dab6da3c3e0511a88cfcd96cc28f7f 100644 (file)
@@ -449,7 +449,7 @@ _e_policy_client_uniconify_by_visibility(E_Client *ec)
 
    _e_policy_client_ancestor_uniconify(ec);
 
-   ELOGF("UNICONIFY_BY_WM", "win:0x%08zx", ec, e_client_util_win_get(ec));
+   ELOGF("UNICONIFY_BY_WM", "win:0x%08zx, argb:%d", ec, e_client_util_win_get(ec), ec->argb);
    ret = e_policy_visibility_client_uniconify(ec, 0);
    if (!ret)
      {
index 544444edec2dc9d9f644d3f3bbc4a472a57ab549..a2ed351e3b65ca98635a8ba5efdb027fb5abd515 100644 (file)
@@ -1298,7 +1298,6 @@ e_policy_wl_iconify_state_change_send(E_Client *ec, int iconic)
    E_Client *ec2;
    Eina_List *l;
    Eina_Iterator *it;
-   Ecore_Window win;
 
    if (ec->exp_iconify.skip_iconify) return;
    if (ec->exp_iconify.skip_by_remote) return;
@@ -1317,8 +1316,6 @@ e_policy_wl_iconify_state_change_send(E_Client *ec, int iconic)
           }
      }
 
-   win = e_client_util_win_get(ec);
-
    it = eina_hash_iterator_data_new(polwl->tzpols);
    EINA_ITERATOR_FOREACH(it, tzpol)
      EINA_LIST_FOREACH(tzpol->psurfs, l, psurf)
@@ -1329,10 +1326,9 @@ e_policy_wl_iconify_state_change_send(E_Client *ec, int iconic)
 
           tizen_policy_send_iconify_state_changed(tzpol->res_tzpol, psurf->surf, iconic, 1);
           ELOGF("ICONIFY",
-                "SEND     |win:0x%08zx|iconic:%d |sur:%p",
+                "SEND     |iconic:%d  |argb:%d       |sur:%p",
                 ec,
-                win,
-                iconic, psurf->surf);
+                iconic, ec->argb, psurf->surf);
           break;
        }
    eina_iterator_free(it);
@@ -6163,6 +6159,7 @@ _launchscreen_splash_setup(E_Policy_Wl_Tzlaunch_Splash *splash,
 
         if (depth == 32) ec->argb = EINA_TRUE;
         else ec->argb = EINA_FALSE;
+        ELOGF("COMP", "Set argb:%d", ec, ec->argb);
 
         //set splash->obj to a content of ec->frame
         if (!e_comp_object_content_set(ec->frame, splash->obj, content_type))
@@ -6359,6 +6356,7 @@ _tzlaunch_splash_iface_cb_owner(struct wl_client *client EINA_UNUSED, struct wl_
                e_comp->new_clients--;
              new_ec->new_client = EINA_FALSE;
              new_ec->argb = old_ec->argb;
+             ELOGF("COMP", "Set argb:%d", new_ec, new_ec->argb);
              new_ec->effect_type = old_ec->effect_type;
              new_ec->use_splash = EINA_TRUE;
              new_ec->icccm.title = eina_stringshare_add("launchscreen");