remove comp object dirty flag

this logic was useful for another issue which has since been fixed. it currently only serves the purpose of triggering a race condition crash which I do not enjoy.
This commit is contained in:
Mike Blumenkrantz 2014-02-17 13:47:52 -05:00 committed by Iván Briano
parent 4c2db4342a
commit b317bedf5a
1 changed files with 0 additions and 10 deletions

View File

@ -91,7 +91,6 @@ typedef struct _E_Comp_Object
Eina_Bool zoomap_disabled : 1; //whether zoomap is usable
Eina_Bool updates_exist : 1;
Eina_Bool updates_full : 1; // entire object will be updated
Eina_Bool dirty : 1; //object is dirty but not visible
Eina_Bool force_move : 1;
} E_Comp_Object;
@ -1882,8 +1881,6 @@ _e_comp_smart_show(Evas_Object *obj)
}
if (!cw->animating)
e_comp_object_effect_set(obj, NULL);
if (cw->dirty)
e_comp_object_render_update_add(obj);
}
static void
@ -3059,14 +3056,7 @@ e_comp_object_dirty(Evas_Object *obj)
Eina_Bool dirty;
API_ENTRY;
cw->dirty = 0;
evas_object_geometry_get(cw->obj, NULL, NULL, &ow, &oh);
if ((!ow) && (!oh))
{
RENDER_DEBUG("DIRTY REJECTED(%p)", cw->ec);
cw->dirty = !cw->visible;
return; //get it on the next resize/show
}
dirty = e_pixmap_size_get(cw->ec->pixmap, &w, &h);
if (!dirty) w = h = 1;
evas_object_image_pixels_dirty_set(cw->obj, dirty);