add log for ec's argb value 87/237487/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:09:52 +0000 (13:09 +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 95f182a699a2e1d6425054b2c2097d9a33c52600..90124b45131c97fca299a341886f19346bc47757 100644 (file)
@@ -4362,7 +4362,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);
@@ -6071,8 +6071,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;
@@ -6130,8 +6130,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 7bc4a03fcc4c224c21dd7a05b911284ffc1752cc..0496e32ef2c6808aee5f2ff910758cd50faa97e8 100644 (file)
@@ -2899,6 +2899,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);
                }
@@ -2909,6 +2910,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 a8409a0871553aa89219b5dba28fb49d7fa7092c..c5354a3a59e3d3a6793372c1a7b50abfd1e60595 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 f3d8329f670543724b98f6cb6657a8e3b913344f..103316aa0979edc6c4219dd96e91d12f8e14bf90 100644 (file)
@@ -907,6 +907,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 0e0c334a94a61afbe0fc2cbd4abc4944f7f9c185..1b6fd2b41a09569e095446e39b0eb870be1e3e7e 100644 (file)
@@ -1300,7 +1300,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;
@@ -1319,8 +1318,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)
@@ -1331,10 +1328,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);
@@ -6148,6 +6144,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))
@@ -6344,6 +6341,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");