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