don't iterate damage rects during render in wayland compositor mode

this is a no-op that spins for no reason
This commit is contained in:
Mike Blumenkrantz 2015-08-12 14:13:21 -04:00
parent f29410b084
commit 28c84f92dc
1 changed files with 17 additions and 14 deletions

View File

@ -3452,6 +3452,8 @@ e_comp_object_render(Evas_Object *obj)
if (e_pixmap_image_is_argb(cw->ec->pixmap))
{
pix = e_pixmap_image_data_get(cw->ec->pixmap);
if (e_comp->comp_type == E_PIXMAP_TYPE_X)
{
EINA_ITERATOR_FOREACH(it, r)
{
E_RECTS_CLIP_TO_RECT(r->x, r->y, r->w, r->h, 0, 0, pw, ph);
@ -3472,6 +3474,7 @@ e_comp_object_render(Evas_Object *obj)
}
RENDER_DEBUG("UPDATE [%p] %i %i %ix%i", cw->ec, r->x, r->y, r->w, r->h);
}
}
/* set pixel data */
if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
{