From: Mike Blumenkrantz Date: Tue, 22 Sep 2015 17:14:51 +0000 (-0400) Subject: calculate comp object visibility regardless of pending damages X-Git-Tag: upstream/0.20.0~256 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4173bd9977f4d1c70cf4a9ef659191e27f6751af;p=platform%2Fupstream%2Fenlightenment.git calculate comp object visibility regardless of pending damages in the case of clients on non-visible vdesks, this improves the reliability of mirrored rendering --- diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 7b62b42..55c6dc4 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); }