From 0e6f590af734face494619ce46b585593a15d632 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Tue, 20 Feb 2001 00:49:16 +0000 Subject: [PATCH] oops - again.. over-optimize SVN revision: 4259 --- legacy/evas/src/evas_render.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/legacy/evas/src/evas_render.c b/legacy/evas/src/evas_render.c index 13aa6b26b8..c3b4006f0a 100644 --- a/legacy/evas/src/evas_render.c +++ b/legacy/evas/src/evas_render.c @@ -470,9 +470,13 @@ evas_render_updates(Evas e) (oo->current.fill.y != oo->previous.fill.y) || (oo->current.fill.w != oo->previous.fill.w) || (oo->current.fill.h != oo->previous.fill.h)) - fill_change = 1; + { + if (!((oo->current.color.a == oo->previous.color.a) && + (oo->current.color.a == 0))) + fill_change = 1; + } oo->current.new_data = 0; - oo->previous = oo->current; + /*oo->previous = oo->current;*/ } break; case OBJECT_TEXT: @@ -620,6 +624,12 @@ evas_render_updates(Evas e) img_tile_ch = 0; } + if (o->type == OBJECT_IMAGE) + { + Evas_Object_Image oo; + oo = o; + oo->previous = oo->current; + } /* special case for rectangle since its all one color */ if (((o->type == OBJECT_RECTANGLE) || (!img_tile_ch)) && (!prop_change) &&