return during client pixel callback if pixmap is dirty and no updates exist

this probably indicates a client update is needed in order to complete the
render, so the existing data should be reused since nothing will render now
This commit is contained in:
Mike Blumenkrantz 2017-09-01 13:40:12 -04:00
parent 026ce1a43e
commit 1a651f23af
1 changed files with 5 additions and 1 deletions

View File

@ -1000,7 +1000,11 @@ _e_comp_object_pixels_get(void *data, Evas_Object *obj)
/* queue another render if client is still dirty; cannot refresh here. */
if (e_pixmap_dirty_get(ec->pixmap) && e_pixmap_size_get(ec->pixmap, &pw, &ph))
e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
{
e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
/* if updates for existing pixmap don't exist then avoid unsetting existing image */
if ((!cw->pending_updates) || eina_tiler_empty(cw->pending_updates)) return;
}
if (cw->native)
{