forked from enlightenment/efl
evas - fix incorrect object reset.
If the children are rendered in the proxy render time, they should not be reset the changes always since we don't sure they will be rendered in normal rendering after. In this case, we leave them as they are. But maybe they can be optimized by comments says. @fix
This commit is contained in:
parent
c5564213ea
commit
22162a66f3
|
@ -1294,7 +1294,13 @@ evas_render_mapped(Evas_Public_Data *e, Evas_Object *eo_obj,
|
||||||
, level + 1
|
, level + 1
|
||||||
#endif
|
#endif
|
||||||
, do_async);
|
, do_async);
|
||||||
evas_object_change_reset(obj2->object);
|
/* We aren't sure this object will be rendered by
|
||||||
|
normal(not proxy) drawing after, we reset this
|
||||||
|
only in case of normal drawing. For optmizing,
|
||||||
|
push this object in an array then reset them
|
||||||
|
in the end of the rendering.*/
|
||||||
|
if (!proxy_render_data)
|
||||||
|
evas_object_change_reset(obj2->object);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1418,7 +1424,13 @@ evas_render_mapped(Evas_Public_Data *e, Evas_Object *eo_obj,
|
||||||
, level + 1
|
, level + 1
|
||||||
#endif
|
#endif
|
||||||
, do_async);
|
, do_async);
|
||||||
evas_object_change_reset(obj2->object);
|
/* We aren't sure this object will be rendered by
|
||||||
|
normal(not proxy) drawing after, we reset this
|
||||||
|
only in case of normal drawing. For optmizing,
|
||||||
|
push this object in an array then reset them
|
||||||
|
in the end of the rendering.*/
|
||||||
|
if (!proxy_render_data)
|
||||||
|
evas_object_change_reset(obj2->object);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue