From 30d6b2e1960636a7280c3bbf51f4823e314d0a20 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 20 Jan 2014 18:58:53 -0500 Subject: [PATCH] remove the black frame render fallback I think the timing on resizes is perfect now, so we should never need to see this --- src/bin/e_comp_object.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index d867d1951..169b6f30b 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -3004,6 +3004,7 @@ e_comp_object_dirty(Evas_Object *obj) if (!dirty) evas_object_image_data_set(cw->obj, NULL); evas_object_image_size_set(cw->obj, w, h); + //INF("SIZE [%p]: %dx%d", cw->ec, w, h); EINA_LIST_FOREACH(cw->obj_mirror, l, o) { evas_object_image_pixels_dirty_set(o, dirty); @@ -3068,22 +3069,6 @@ e_comp_object_render(Evas_Object *obj) return EINA_FALSE; } - { - int ow, oh; - evas_object_geometry_get(cw->obj, NULL, NULL, &ow, &oh); - if ((ow != pw) || (oh != ph)) - { - /* this results in a black frame, but I think that's better than - * pixmap size mismatch renders... - */ - e_comp_object_damage(cw->smart_obj, 0, 0, cw->w, cw->h); - evas_object_image_data_set(cw->obj, NULL); - EINA_LIST_FOREACH(cw->obj_mirror, l, o) - evas_object_image_data_set(o, NULL); - return EINA_FALSE; - //CRI("ACK"); - } - } it = eina_tiler_iterator_new(cw->pending_updates); if (e_pixmap_image_is_argb(cw->ec->pixmap))