evas/render - removed uselss compare and fix indent

SVN revision: 73903
This commit is contained in:
ChunEon Park 2012-07-16 03:12:39 +00:00
parent 1ba497972d
commit a7a4fbbe74
1 changed files with 28 additions and 32 deletions

View File

@ -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,
@ -450,17 +446,17 @@ _evas_render_phase1_object_process(Evas *e, Evas_Object *obj,
restack, restack,
redraw_all redraw_all
#ifdef REND_DGB #ifdef REND_DGB
, level + 1 , level + 1
#endif #endif
); );
} }
} }
*/ */
} }
if (!is_active) obj->restack = EINA_FALSE; if (!is_active) obj->restack = EINA_FALSE;
RDI(level); RDI(level);
RD(" ---]\n"); RD(" ---]\n");
return clean_them; return clean_them;
} }
static Eina_Bool static Eina_Bool