Bit faster
authorHeli Hyvättinen <heli.hyvattinen@kymp.net>
Mon, 24 Oct 2011 10:43:12 +0000 (13:43 +0300)
committerHeli Hyvättinen <heli.hyvattinen@kymp.net>
Mon, 24 Oct 2011 12:10:22 +0000 (15:10 +0300)
Speed is better now, still slower than on Maemo, but roughly what
it was before on Harmattan.
Bug: speed sopetimes drops for a brief moment. This seems to be
caused by system slowing because of lots of apps running. (Appeared
with 7 browser windows and three other apps on the background, but
not with no apps on the background.) The bug is not caused by the
change to timer-triggered sensor reading, and seemed even worse
without it.

orientationcontrolledgraphicspixmapobject.cpp

index 0276a25..3b41ab2 100644 (file)
@@ -37,7 +37,7 @@ OrientationControlledGraphicsPixmapObject::OrientationControlledGraphicsPixmapOb
 {
 
     rotationReadingInitialized_ = false;
-    rotationReadingTimer_.setInterval(35);
+    rotationReadingTimer_.setInterval(15);
     connect(&rotationReadingTimer_,SIGNAL(timeout()),this,SLOT(readRotationSensor()));
     connect(&rotationSensor_,SIGNAL(readingChanged()),this,SLOT(rotationSensorReady()));