e_policy_visibility: add log for deiconify job 89/168189/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Thu, 25 Jan 2018 01:28:49 +0000 (10:28 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Thu, 25 Jan 2018 01:28:49 +0000 (10:28 +0900)
Change-Id: Icd96e5e852c4472d8ba739237562aa633baff541

src/bin/e_policy_visibility.c

index d971dd2adb341030977d7c4d7a0ed4e143024521..cae227e77d0222f79677cabe6792a6afad68c3ca 100644 (file)
@@ -548,6 +548,7 @@ _e_vis_job_add(E_Vis_Client *vc, E_Vis_Job_Type type, Ecore_Task_Cb timeout_func
    job->vc = vc;
    job->type = type;
    job->timer = ecore_timer_add(E_VIS_TIMEOUT, timeout_func, job);
+   VS_INF(vc->ec, "NEW JOB:%p, type:%d", job, type);
 
    if ((job->type == E_VIS_JOB_TYPE_LOWER) ||
        (job->type == E_VIS_JOB_TYPE_HIDE) ||
@@ -570,6 +571,8 @@ _e_vis_job_del(Eina_Clist *elem)
        (job->type == E_VIS_JOB_TYPE_ICONIFY) ||
        (job->type == E_VIS_JOB_TYPE_LAYER_LOWER))
      e_comp_canvas_norender_pop();
+
+   VS_INF(job->vc->ec, "FREE JOB:%p, type:%d", job, job->type);
    E_FREE_FUNC(job->timer, ecore_timer_del);
    free(job);
 }
@@ -593,6 +596,7 @@ _e_vis_job_exec(Eina_Clist *elem)
    _e_vis_clist_unlink(elem);
    job = EINA_CLIST_ENTRY(elem, E_Vis_Job, entry);
    _e_vis_client_job_exec(job->vc, job->type);
+   VS_INF(job->vc->ec, "FREE JOB:%p, type:%d", job, job->type);
    E_FREE_FUNC(job->timer, ecore_timer_del);
    free(job);
 }
@@ -633,7 +637,7 @@ _e_vis_job_eval(void)
 {
    E_Vis_Job_Group *group, *tmp;
 
-   INF("VISIBILITY | Job Eval");
+   INF("VISIBILITY | Job Eval Begin");
 
    _e_vis_job_queue_update();
 
@@ -646,6 +650,7 @@ _e_vis_job_eval(void)
         /* execute all of job in the group */
         _e_vis_job_group_exec(group);
      }
+   INF("VISIBILITY | Job Eval End");
 }
 
 static void
@@ -720,7 +725,7 @@ _e_vis_client_cb_buffer_attach(void *data, int type EINA_UNUSED, void *event)
    ec = vc->ec;
    grab = vc->grab;
 
-   VS_DBG(ec, "FINISH Uniconify render(ev:%p, vc:%p, provider:%p)", ev->ec, vc->ec, provider_ec);
+   VS_INF(ec, "FINISH Uniconify render(ev:%p, vc:%p, provider:%p)", ev->ec, vc->ec, provider_ec);
 
    /* force update
     * NOTE: this update can invoke some functions related to visibility grab */
@@ -772,12 +777,14 @@ _e_vis_client_job_exec(E_Vis_Client *vc, E_Vis_Job_Type type)
    _e_vis_ec_job_exec(vc->ec, type);
 
    vc->job.count--;
+   VS_INF(vc->ec, "Decrease VC JOB count:%d", vc->job.count);
+
    if (vc->job.count == 0)
      {
         if (e_object_is_del(E_OBJECT(vc->ec)))
           {
              /* all of enqueued job is executed */
-             VS_DBG(vc->ec, "Deleted Client: UNREF Delay Del");
+             VS_INF(vc->ec, "Deleted Client: UNREF Delay Del");
              e_pixmap_free(vc->ec->pixmap);
              e_object_delay_del_unref(E_OBJECT(vc->ec));
           }
@@ -979,6 +986,7 @@ _e_vis_client_job_add(E_Vis_Client *vc, E_Vis_Job_Type type)
      return;
 
    vc->job.count++;
+   VS_INF(vc->ec, "Increase VC JOB count:%d", vc->job.count);
 }
 
 static void