From 1e4c56312f970966626d7e948b3985b056ab9aaf Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Wed, 10 May 2023 14:19:32 +0900 Subject: [PATCH] e_comp: remove the unused varriables at E_Comp Change-Id: Ia773be8a8bbb4a1cf23bb05dc75a4b940b0675b4 --- src/bin/e_comp.c | 3 --- src/bin/e_comp.h | 14 +------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index 5874c15..1dea6ef 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -245,8 +245,6 @@ _e_comp_cb_update(void) } } - if (e_comp->saver) continue; - res = e_pixmap_size_get(ec->pixmap, &pw, &ph); if (!res) continue; @@ -332,7 +330,6 @@ _e_comp_free(E_Comp *c) if (c->render_animator) ecore_animator_del(c->render_animator); if (c->update_job) ecore_job_del(c->update_job); - if (c->screen_job) ecore_job_del(c->screen_job); if (c->nocomp_delay_timer) ecore_timer_del(c->nocomp_delay_timer); if (c->nocomp_override_timer) ecore_timer_del(c->nocomp_override_timer); diff --git a/src/bin/e_comp.h b/src/bin/e_comp.h index 5c049a3..71278e7 100644 --- a/src/bin/e_comp.h +++ b/src/bin/e_comp.h @@ -103,7 +103,7 @@ struct _E_Comp Ecore_Window root; Ecore_Evas *ee; Ecore_Window ee_win; - //Evas_Object *elm; + Evas *evas; Evas_Object *bg_blank_object; Eina_List *zones; @@ -134,25 +134,16 @@ struct _E_Comp E_Comp_Screen *e_comp_screen; - Eina_List *debug_rects; - Eina_List *ignore_wins; - Eina_List *updates; Eina_List *post_updates; Ecore_Animator *render_animator; Ecore_Job *update_job; Evas_Object *fps_bg; Evas_Object *fps_fg; - Ecore_Job *screen_job; int animating; double frametimes[122]; - int frameskip; double fps; - Ecore_Window block_win; - int block_count; //number of times block window has been requested - - Ecore_Window cm_selection; //FIXME: move to comp_x ? E_Client *nocomp_ec; Ecore_Timer *nocomp_delay_timer; @@ -169,7 +160,6 @@ struct _E_Comp Eina_Bool use_native_type_buffer : 1; // use native buffer type Eina_Bool avoid_afill; // avoid to fill the alpha channel as 0xff. that means filling 0x00. - int depth; unsigned int input_key_grabs; unsigned int input_mouse_grabs; @@ -179,8 +169,6 @@ struct _E_Comp Eina_Bool gl : 1; Eina_Bool grabbed : 1; - Eina_Bool saver : 1; - Eina_Bool shape_queue_blocked : 1; Eina_Bool calc_fps : 1; Eina_Bool canvas_render_delayed : 1; -- 2.7.4