forked from enlightenment/efl
evas: Avoid calling render() on smart objects
Smart objects do not render themselves. This can avoid a bit of extra unnecessary work.
This commit is contained in:
parent
562528d28c
commit
4d1c53d916
|
@ -1806,7 +1806,7 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
|
||||||
|
|
||||||
ENFN->context_free(ENDT, ctx);
|
ENFN->context_free(ENDT, ctx);
|
||||||
}
|
}
|
||||||
else
|
else if (!obj->is_smart)
|
||||||
{
|
{
|
||||||
ctx = ENFN->context_dup(ENDT, context);
|
ctx = ENFN->context_dup(ENDT, context);
|
||||||
if (obj->cur->clipper)
|
if (obj->cur->clipper)
|
||||||
|
|
Loading…
Reference in New Issue