![]() |
2010-07-05
, 08:13
|
|
Posts: 1,055 |
Thanked: 4,107 times |
Joined on Oct 2009
@ Norway
|
#2
|
![]() |
2010-07-05
, 08:46
|
Posts: 10 |
Thanked: 7 times |
Joined on May 2010
@ San Francisco
|
#3
|
I am building a google maps client using Qt and QGLWidget, mostly because I'm sick of slow performance maps applications.
I am getting some slowdowns while dragging the map around and I have reasons to believe that it's either because the CPU does the rendering or something makes the touchscreen pull readings slower than the display.
About the CPU rendering, when launching the application without any params, the main drawing routine never exceeds 5000 nano seconds (5 milliseconds). Assuming a framerate of 60FPS, that is perfectly okay (60FPS = 16.67ms draw time).
Now, I believe that is the CPU because when I launch my application with "-graphicssystem opengl" I get a weird and cryptic error - "QX11GLPixmapData is *NOT* being used", so I'm assuming GL rendering fails for some reason.
So even if OGL ES rendering is disabled, frame render speed should be enough for a smooth display - unless the touchscreen makes less reads than the display does updates.
Please feel free to correct my assumptions, I'm only here to learn - after all, this IS my first Qt/N900 application.
For those who want to experiment, or just interested, feel free to browse the source.