forked from enlightenment/enlightenment
Revert "handle updates_full when adding comp object update regions"
This reverts commit fac907e0c5
.
this was already handled and I'm dumb.
This commit is contained in:
parent
fef7941083
commit
a188c4751c
|
@ -4078,20 +4078,6 @@ e_comp_object_dirty(Evas_Object *obj)
|
|||
return;
|
||||
}
|
||||
e_comp_object_native_surface_set(obj, 1);
|
||||
if (cw->updates_full)
|
||||
{
|
||||
Eina_Rectangle r = {0};
|
||||
|
||||
eina_tiler_area_size_get(cw->updates, &r.w, &r.h);
|
||||
RENDER_DEBUG("UPDATE ADD [%p]: %d %d %dx%d", cw->ec, r.x, r.y, r.w, r.h);
|
||||
evas_object_image_data_update_add(cw->obj, r.x, r.y, r.w, r.h);
|
||||
EINA_LIST_FOREACH(cw->obj_mirror, ll, o)
|
||||
evas_object_image_data_update_add(o, r.x, r.y, r.w, r.h);
|
||||
if (cw->pending_updates)
|
||||
eina_tiler_rect_add(cw->pending_updates, &r);
|
||||
}
|
||||
else
|
||||
{
|
||||
it = eina_tiler_iterator_new(cw->updates);
|
||||
EINA_ITERATOR_FOREACH(it, rect)
|
||||
{
|
||||
|
@ -4103,7 +4089,6 @@ e_comp_object_dirty(Evas_Object *obj)
|
|||
eina_tiler_rect_add(cw->pending_updates, rect);
|
||||
}
|
||||
eina_iterator_free(it);
|
||||
}
|
||||
if (cw->pending_updates)
|
||||
eina_tiler_clear(cw->updates);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue