For a master research in my university I am doing some research on the use of accelerometers combined with mobile graphics. I am working with an N95. I use Symbian C++. (S60 3rd FP2 SDK v1.1).
At the moment I want to transform images as result of accelerometer data changes. I apply some matrices to transform a buffered graphics context. It is based on http://wiki.forum.nokia.com/index.ph...uble_buffering where double buffering is described. I use the normal drawing methods to draw a bitmap, transform it, and draw it to the screen as described in the wiki.
It works well, but is really slow. For simple transformations (complexity of linear order when looking at #pixels) I have a maximum framerate of 1 fps.
I would like to know if I could better use something else, instead of the double buffering method.
And a side question: how slow are the gonio functions from the Math class? Is it better to create LUT's if you make extensive use of them?
Any help is really appreciated!
Thanks in advance,