calculate comp object visibility regardless of pending damages

in the case of clients on non-visible vdesks, this improves the reliability
of mirrored rendering
This commit is contained in:
Mike Blumenkrantz 2015-09-22 13:14:51 -04:00
parent 7a142970cb
commit 52c66793f1
1 changed files with 2 additions and 4 deletions

View File

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