map: don't update surface unencessarily.

smart object don't need to update map surface always
check the state more elaborately so minus one more surface drawing!
This commit is contained in:
ChunEon Park 2015-09-10 21:27:47 +09:00
parent 5b2baf173e
commit becf6869b9
1 changed files with 3 additions and 1 deletions

View File

@ -991,7 +991,9 @@ evas_object_smart_changed_get(Evas_Object *eo_obj)
if (has_map)
{
if (obj->need_surface_clear || ((obj->changed_pchange) && (obj->changed_map)))
if ((obj->need_surface_clear && obj->changed && !obj->is_smart) ||
((obj->changed_pchange) && (obj->changed_map)))
return EINA_TRUE;
}
}