On 17/05/2010 18:54, carcinoma wrote: > Hello Navitters, > > a while ago, i hacked a on navit to make it a little more usable on > freerunner. Once more, navit was unusable on freerunner, so i hacked > again. I found that osd text is redrawing every single geo location > change tick. Something like this is unacceptable for embedded - if the > same is drawed. So please, navit team, check out this patch. > > It preparses the osd text string, creates a little struct to use it, > when it comes to draw, in hope, parsing a string ist slower than build > the struct and use it. Maybe performance difference is bigger on > embedded. i never get a shr dev environment working on my machine (oe > build is not my friend), so i never tested it on freerunner, only on my > main machine. > > and main imprevement: compare new string against prev generated sting > and only draw, if it is not the same. >
Hi Carcinoma, and thanks for your patch. I don't have my FR with me today, but i will compile it and i'll give a try on my FR asap. If you want, i can also share my compiled binary so you can test it and make up your own mind. Have a nice day! K- ------------------------------------------------------------------------------ _______________________________________________ Navit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/navit-users
