From 823e6406320ed68eb0733527b48ad0f28909d4c9 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 1 Jun 2011 13:13:56 +0000 Subject: [PATCH] seems 1 frereze+thaw causes slowdown... thanks dan! :) SVN revision: 59866 --- legacy/elementary/src/lib/elm_genlist.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/legacy/elementary/src/lib/elm_genlist.c b/legacy/elementary/src/lib/elm_genlist.c index 0763faa74b..2d93822e35 100644 --- a/legacy/elementary/src/lib/elm_genlist.c +++ b/legacy/elementary/src/lib/elm_genlist.c @@ -3250,7 +3250,9 @@ _item_queue(Widget_Data *wd, if (it->queued) return; it->queued = EINA_TRUE; wd->queue = eina_list_append(wd->queue, it); - evas_event_freeze(evas_object_evas_get(wd->obj)); +// FIXME: why does a freeze then thaw here cause some genlist +// elm_genlist_item_append() to be much much slower? +// evas_event_freeze(evas_object_evas_get(wd->obj)); while ((wd->queue) && ((!wd->blocks) || (!wd->blocks->next))) { if (wd->queue_idle_enterer) @@ -3260,8 +3262,8 @@ _item_queue(Widget_Data *wd, } _queue_process(wd); } - evas_event_thaw(evas_object_evas_get(wd->obj)); - evas_event_thaw_eval(evas_object_evas_get(wd->obj)); +// evas_event_thaw(evas_object_evas_get(wd->obj)); +// evas_event_thaw_eval(evas_object_evas_get(wd->obj)); if (!wd->queue_idle_enterer) wd->queue_idle_enterer = ecore_idle_enterer_add(_item_idle_enterer, wd); }