discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=4173bd9977f4d1c70cf4a9ef659191e27f6751af

commit 4173bd9977f4d1c70cf4a9ef659191e27f6751af
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Sep 22 13:14:51 2015 -0400

    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 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);
      }

-- 


Reply via email to