[Cumulus] Speed up drawing the maps and Qt usage
flieger-axel at web.de
Wed Apr 7 10:33:19 CEST 2010
two remarks from my side to clarification.
1) I decided me to take my own built Qt libraries for Cumulus because with
Maemo4 Qt I tried a Hildon portage but I failed with different widgets, got
core dumps and sometimes not the expected functionality. For N900 my frist
try was with the official Qt libraries from Nokia but I got in Scatchbox X86
the same results as reported by Ville for the N900. I don't know what is
going wron here but with my own build Libraries the results are better. If
the Nokia Qt libraries are usable for Cumulus I would take them with
plesure. It saves me a lot of additional work.
2) At the moment Cumulus uses only the QPainter functionality. An upgrade to
graphicsview would be an open point for me. If I understood right, hareware
accelaration is only provided for graphicsview at N900? For the N8x0 is has
no speed effect if I would change to graphicsview? I'm not familar with
graphicsview but I will investigate how much would be the effort to change
that in Cumulus.
2010/4/6 Ville Ranki <ville.ranki at iki.fi>
> Kate Alhola wrote:
> >> That would be more correct way to do this on N900. But Cumulus uses
> >> it's own Qt libraries (idea which i don't like too much) which may
> >> cause some trouble when enabling hw acceleration. Also this
> >> wouldn't affect Cumulus on N8x0 devices. Even Axel doesn't have a
> >> N900 yet.
> > I think that it would be wise to upgrate to use graphicsview and
> > related functions. They are already optimized even for non
> > accelerating environment. All future devices will be accelerated.
> > There is OSS projetc to make OpenGL-ES 1 drivers available fpr N800 .
> I just tested cumulus with the N900's on-board qt libs (on PR 1.2).
> Cumulus starts and runs fine expect:
> - All the fields on left are blank (white text on white bg?)
> - Bottom bar has white text on gray (unreadable)
> - Map works fine, but framerate is still pretty low. Zooming in or out
> takes about 1 second.
> - Menu doesn't work: menu bar is white text on gray bg and submenus
> are layed out horizontally and don't fit into display.
> - Dialogs (such as exit dialog) have white text on gray
> Starting with -graphicssystem opengl or raster didn't make much
> difference in frame rate.
> As a summary, it would probably be pretty easy to use Maemo's Qt for
> Cumulus. Largest changes would be implementing menus in maemo-way
> and (not) setting font color in some items.
> Ville Ranki <ville.ranki at iki.fi>
> http://www.iki.fi/~cos <http://www.iki.fi/%7Ecos>
> Cumulus mailing list
> Cumulus at kflog.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cumulus