forked from enlightenment/efl
evas/render - removed uselss compare and fix indent
SVN revision: 73903
This commit is contained in:
parent
1ba497972d
commit
a7a4fbbe74
|
@ -263,6 +263,7 @@ _evas_render_phase1_object_process(Evas *e, Evas_Object *obj,
|
||||||
|
|
||||||
RDI(level);
|
RDI(level);
|
||||||
RD(" [--- PROCESS [%p] '%s' active = %i, del = %i | %i %i %ix%i\n", obj, obj->type, is_active, obj->delete_me, obj->cur.geometry.x, obj->cur.geometry.y, obj->cur.geometry.w, obj->cur.geometry.h);
|
RD(" [--- PROCESS [%p] '%s' active = %i, del = %i | %i %i %ix%i\n", obj, obj->type, is_active, obj->delete_me, obj->cur.geometry.x, obj->cur.geometry.y, obj->cur.geometry.w, obj->cur.geometry.h);
|
||||||
|
|
||||||
if ((is_active) || (obj->delete_me != 0))
|
if ((is_active) || (obj->delete_me != 0))
|
||||||
eina_array_push(active_objects, obj);
|
eina_array_push(active_objects, obj);
|
||||||
|
|
||||||
|
@ -315,14 +316,11 @@ _evas_render_phase1_object_process(Evas *e, Evas_Object *obj,
|
||||||
// eina_array_push(restack_objects, obj);
|
// eina_array_push(restack_objects, obj);
|
||||||
_evas_render_prev_cur_clip_cache_add(e, obj);
|
_evas_render_prev_cur_clip_cache_add(e, obj);
|
||||||
if (obj->changed)
|
if (obj->changed)
|
||||||
{
|
|
||||||
if (hmap)
|
|
||||||
{
|
{
|
||||||
if (!map)
|
if (!map)
|
||||||
{
|
{
|
||||||
if ((obj->cur.map) && (obj->cur.usemap)) map = EINA_TRUE;
|
if ((obj->cur.map) && (obj->cur.usemap)) map = EINA_TRUE;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (map != hmap)
|
if (map != hmap)
|
||||||
{
|
{
|
||||||
*redraw_all = 1;
|
*redraw_all = 1;
|
||||||
|
@ -432,15 +430,13 @@ _evas_render_phase1_object_process(Evas *e, Evas_Object *obj,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
/* else if (obj->smart.smart)
|
||||||
else if (obj->smart.smart)
|
|
||||||
{
|
{
|
||||||
RDI(level);
|
RDI(level);
|
||||||
RD(" smart + mot visible/was visible\n");
|
RD(" smart + mot visible/was visible\n");
|
||||||
eina_array_push(render_objects, obj);
|
eina_array_push(render_objects, obj);
|
||||||
obj->render_pre = 1;
|
obj->render_pre = 1;
|
||||||
EINA_INLIST_FOREACH
|
EINA_INLIST_FOREACH (evas_object_smart_members_get_direct(obj), obj2)
|
||||||
(evas_object_smart_members_get_direct(obj), obj2)
|
|
||||||
{
|
{
|
||||||
_evas_render_phase1_object_process(e, obj2,
|
_evas_render_phase1_object_process(e, obj2,
|
||||||
active_objects,
|
active_objects,
|
||||||
|
|
Loading…
Reference in New Issue