e_comp: remove the unused varriables at E_Comp 51/292651/1
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 10 May 2023 05:19:32 +0000 (14:19 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Thu, 11 May 2023 00:12:58 +0000 (09:12 +0900)
Change-Id: Ia773be8a8bbb4a1cf23bb05dc75a4b940b0675b4

src/bin/e_comp.c
src/bin/e_comp.h

index 5874c15..1dea6ef 100644 (file)
@@ -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);
 
index 5c049a3..71278e7 100644 (file)
@@ -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;