From 4173bd9977f4d1c70cf4a9ef659191e27f6751af Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 22 Sep 2015 13:14:51 -0400 Subject: [PATCH] calculate comp object visibility regardless of pending damages in the case of clients on non-visible vdesks, this improves the reliability of mirrored rendering --- src/bin/e_comp_object.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 7b62b4263..55c6dc43d 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -3432,6 +3432,7 @@ e_comp_object_dirty(Evas_Object *obj) if (!dirty) evas_object_image_data_set(o, NULL); evas_object_image_size_set(o, w, h); + visible |= evas_object_visible_get(o); } if (!dirty) { @@ -3445,10 +3446,7 @@ e_comp_object_dirty(Evas_Object *obj) RENDER_DEBUG("UPDATE ADD [%p]: %d %d %dx%d", cw->ec, rect->x, rect->y, rect->w, rect->h); evas_object_image_data_update_add(cw->obj, rect->x, rect->y, rect->w, rect->h); EINA_LIST_FOREACH(cw->obj_mirror, ll, o) - { - evas_object_image_data_update_add(o, rect->x, rect->y, rect->w, rect->h); - visible |= evas_object_visible_get(o); - } + evas_object_image_data_update_add(o, rect->x, rect->y, rect->w, rect->h); if (cw->pending_updates) eina_tiler_rect_add(cw->pending_updates, rect); }