From 08912434f5f0e393bec243499457d32d165a113b Mon Sep 17 00:00:00 2001 From: Hao Li Date: Fri, 24 Aug 2012 15:52:40 +0800 Subject: [PATCH] change async to 0 to fix TIVI-114 --- navit/navit/navit.c | 6 +++++- packaging/navit.changes | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/navit/navit/navit.c b/navit/navit/navit.c index 4af07bd..b26a8b7 100644 --- a/navit/navit/navit.c +++ b/navit/navit/navit.c @@ -2104,7 +2104,11 @@ navit_init(struct navit *this_) this_->ready|=1; dbg(2,"ready=%d\n",this_->ready); if (this_->ready == 3) - navit_draw_async(this_, 1); + { + //For some reasons, displaylist->busy in graphics_load_mapset is always 1 (busy) for long time, which keep the navit launch be slow (2 minutes) - TIVI-114 + //change async to 0 for making it is not a block for launch. + navit_draw_async(this_, 0); + } if (callback) callback_list_call_attr_1(this_->attr_cbl, attr_graphics_ready, this_); #if 0 diff --git a/packaging/navit.changes b/packaging/navit.changes index e731d30..4d19573 100644 --- a/packaging/navit.changes +++ b/packaging/navit.changes @@ -1,3 +1,7 @@ +* Fri Aug 24 2012 - hao.h.li@intel.com +- For some reasons, displaylist->busy in graphics_load_mapset is always 1 (busy) for long time, which keep the navit launch be slow (2 minutes) - TIVI-114 +change async to 0 for making it is not a block for launch. + * Thu Aug 2 20:03:58 UTC 2012 - tracy.graydon@intel.com - Resubmit -- 2.7.4