I started testing on device the new huge-maps support and i must say that i am VERY excited! Speed is simply great on my 5800XM, both when caching and displaying!
Unfortunately i hit a bug somewhere, triggered inside libjpeg, which causes a crash on the phone but not on the simulator, so today i need to spend some time debugging on the phone, which is a pain and a waste of time. But what can you do? Nothing!
Update: the bug was mine... Sorry, i mixed up cols&rows, ending up with a crash! This is the consequence of rushed work. Anyway, if everything goes well, i will release a 1.3.0 "alpha" release today on the mailinglist...
Update: i have released the alpha... there are still some crashes i am working on, but its a good starting point for testing huge maps!
Update: the crash was related on how i was managing to sync the chunks loading. I was emitting a signal inside the paintEvent, which tunrs out cannot be considered safe. Sometimes, in fact, that signal gets executed immediately (Qt::DirectConnect) or never (Qt::QueuedConnect). So to keep it simple i added a QTimer in one-shot mode and just fire it inside the paintEvent. This ensure that the chunk loading is done outside the paintEvent itself.
Stay tuned...
Nessun commento:
Posta un commento