From 21c43528234a315a1cab7df00014ab62dca92ced Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 25 Sep 2015 14:31:28 +0900 Subject: [PATCH] evas image object - dont update just if image is dirty marking images as dirty is only meant to have the pixle get callback called IF rendered. you ADD update regions to get it to be called. this is how it has always meant to work, but evas image objects where adding updates just if dirty. this ends up with e as a compositor redrawing ENTIRE eindows if even a single blinking cursor is blinking. oh so bad. @fix --- src/lib/evas/canvas/evas_object_image.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c index f82d8252e0..3fd09fcaa0 100644 --- a/src/lib/evas/canvas/evas_object_image.c +++ b/src/lib/evas/canvas/evas_object_image.c @@ -3747,11 +3747,6 @@ evas_object_image_render_pre(Evas_Object *eo_obj, evas_object_render_pre_prev_cur_add(&e->clip_changes, eo_obj, obj); if (!o->pixels->pixel_updates) goto done; } - if (o->dirty_pixels) - { - evas_object_render_pre_prev_cur_add(&e->clip_changes, eo_obj, obj); - if (!o->pixels->pixel_updates) goto done; - } if (o->cur->frame != o->prev->frame) { evas_object_render_pre_prev_cur_add(&e->clip_changes, eo_obj, obj);