forked from enlightenment/efl
parent
f3ae942b0a
commit
6398a2c6dc
|
@ -265,13 +265,13 @@ evas_render_updates_internal(Evas *e, unsigned char make_updates, unsigned char
|
||||||
Evas_Object *obj;
|
Evas_Object *obj;
|
||||||
|
|
||||||
obj = (Evas_Object *)(ll->data);
|
obj = (Evas_Object *)(ll->data);
|
||||||
if (evas_object_is_opaque(obj) &&
|
if (UNLIKELY(evas_object_is_opaque(obj) &&
|
||||||
evas_object_is_visible(obj) &&
|
evas_object_is_visible(obj) &&
|
||||||
(!obj->clip.clipees) &&
|
(!obj->clip.clipees) &&
|
||||||
(obj->cur.visible) &&
|
(obj->cur.visible) &&
|
||||||
(!obj->delete_me) &&
|
(!obj->delete_me) &&
|
||||||
(obj->cur.cache.clip.visible) &&
|
(obj->cur.cache.clip.visible) &&
|
||||||
(!obj->smart.smart))
|
(!obj->smart.smart)))
|
||||||
obscuring_objects = evas_list_append(obscuring_objects, obj);
|
obscuring_objects = evas_list_append(obscuring_objects, obj);
|
||||||
}
|
}
|
||||||
/* save this list */
|
/* save this list */
|
||||||
|
|
|
@ -69,6 +69,11 @@
|
||||||
// BROKEN in gcc 4 on amd64
|
// BROKEN in gcc 4 on amd64
|
||||||
//# pragma GCC visibility push(hidden)
|
//# pragma GCC visibility push(hidden)
|
||||||
# endif
|
# endif
|
||||||
|
#define LIKELY(x) __builtin_expect(!!(x), 1)
|
||||||
|
#define UNLIKELY(x) __builtin_expect(!!(x), 0)
|
||||||
|
#else
|
||||||
|
#define LIKELY(x) (x)
|
||||||
|
#define UNLIKELY(x) (x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
Loading…
Reference in New Issue