[Pkg-e-commits] [SCM] Enlightenment DR17 advanced canvas library branch, upstream-vcs, updated. 069f3cc6c93f253bffbc90289fe21d868f745bb6

cedric cedric at alioth.debian.org
Sat Jun 7 18:24:37 UTC 2008


The following commit has been merged in the upstream-vcs branch:
commit 0f547014cd3fd460f616a090e657e555ea73bb0c
Author: cedric <cedric>
Date:   Wed Jun 4 16:44:05 2008 +0000

    Remove now useless code to force evas_render cache invalidation.

diff --git a/src/lib/canvas/evas_object_main.c b/src/lib/canvas/evas_object_main.c
index 5bd453d..8a53dbf 100644
--- a/src/lib/canvas/evas_object_main.c
+++ b/src/lib/canvas/evas_object_main.c
@@ -410,7 +410,6 @@ evas_object_del(Evas_Object *obj)
    while (obj->clip.clipees) evas_object_clip_unset(obj->clip.clipees->data);
    if (obj->cur.clipper) evas_object_clip_unset(obj);
    if (obj->smart.smart) evas_object_smart_del(obj);
-   if (obj->layer) evas_render_invalidate(obj->layer->evas);
    evas_object_event_callback_call(obj, EVAS_CALLBACK_FREE, NULL);
    evas_object_smart_cleanup(obj);
    obj->delete_me = 1;
@@ -538,7 +537,6 @@ evas_object_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
    obj->cur.geometry.w = w;
    obj->cur.geometry.h = h;
 ////   obj->cur.cache.geometry.validity = 0;
-   if (obj->layer) evas_render_invalidate(obj->layer->evas);
    evas_object_change(obj);
    evas_object_clip_dirty(obj);
    evas_object_recalc_clippees(obj);
@@ -873,7 +871,6 @@ evas_object_show(Evas_Object *obj)
 	evas_object_inform_call_show(obj);
 	return;
      }
-   if (obj->layer) evas_render_invalidate(obj->layer->evas);
    obj->cur.visible = 1;
    evas_object_change(obj);
    evas_object_clip_dirty(obj);
@@ -921,7 +918,6 @@ evas_object_hide(Evas_Object *obj)
 	evas_object_inform_call_hide(obj);
 	return;
      }
-   if (obj->layer) evas_render_invalidate(obj->layer->evas);
    obj->cur.visible = 0;
    evas_object_change(obj);
    evas_object_clip_dirty(obj);
@@ -1035,8 +1031,6 @@ evas_object_color_set(Evas_Object *obj, int r, int g, int b, int a)
    obj->cur.color.r = r;
    obj->cur.color.g = g;
    obj->cur.color.b = b;
-   if ((obj->cur.color.a == 0) || (a == 0))
-     if (obj->layer) evas_render_invalidate(obj->layer->evas);
    if ((obj->cur.color.a == 0) && (a == 0)) return;
    obj->cur.color.a = a;
    evas_object_change(obj);

-- 
Enlightenment DR17 advanced canvas library



More information about the Pkg-e-commits mailing list