discomfitor pushed a commit to branch enlightenment-0.19.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=52c66793f13e39e895ab6d839bbf9cc333d6515f

commit 52c66793f13e39e895ab6d839bbf9cc333d6515f
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 205130c..52b1e8f 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -3281,6 +3281,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)
      {
@@ -3294,10 +3295,7 @@ e_comp_object_dirty(Evas_Object *obj)
         RENDER_DEBUG("UPDATE ADD [%p]: %d %d %dx%d", cw->ec, r->x, r->y, r->w, 
r->h);
         evas_object_image_data_update_add(cw->obj, r->x, r->y, r->w, r->h);
         EINA_LIST_FOREACH(cw->obj_mirror, l, o)
-          {
-             evas_object_image_data_update_add(o, r->x, r->y, r->w, r->h);
-             visible |= evas_object_visible_get(o);
-          }
+          evas_object_image_data_update_add(o, r->x, r->y, r->w, r->h);
         if (cw->pending_updates)
           eina_tiler_rect_add(cw->pending_updates, r);
      }

-- 


Reply via email to