elementary/mapbuf - removed workaround code that would cause the performance issue.

Sorry, I have no idea now what to do, even mapbuf has much side effects in rendering.




SVN revision: 82322
This commit is contained in:
ChunEon Park 2013-01-07 07:07:27 +00:00
parent 6dd5d41f85
commit 7fdc6b90bb
1 changed files with 5 additions and 28 deletions

View File

@ -123,35 +123,12 @@ _configure(Evas_Object *obj, Eina_Bool update_force)
evas_object_move(sd->content, x, y);
else
{
//Let give the chance to update the content whenever content is
//coming inside buffer from the outside. It means the content may
//have been changed when it is on the outside, but the surface
//may not be updated because contents would be outside of the
//viewport.
Evas_Coord output_w, output_h;
Evas *e = evas_object_evas_get(obj);
evas_output_size_get(e, &output_w, &output_h);
Eina_Bool update = EINA_FALSE;
if ((x2 >= output_w) || (y2 >= output_h) ||
((x2 + w2) <= 0) || ((y2 + h2) <= 0))
sd->outside = EINA_TRUE;
else if (sd->outside)
{
sd->outside = EINA_FALSE;
update = EINA_TRUE;
}
if (update)
evas_object_move(sd->content, x, y);
else
{
evas_smart_objects_calculate(e);
evas_nochange_push(e);
evas_object_move(sd->content, x, y);
evas_smart_objects_calculate(e);
evas_nochange_pop(e);
}
evas_smart_objects_calculate(e);
evas_nochange_push(e);
evas_object_move(sd->content, x, y);
evas_smart_objects_calculate(e);
evas_nochange_pop(e);
}
_mapbuf(obj);
}