David,<br><br>There are a number of options available to you, but each will depend upon your requirements.<br>On the nokia device its not lack of options, but graphical bandwidth: the display cannot update fast enough to render full screen RGB graphics at fullspeed without some sort of tearing.<br>
<br>Even before rotating, you may want to examine ways to reduce bandwidth (lowering resolution is primary).<br><br>However if you are willing to try, you could look at the following options and you may find something which suits you.<br>
<br>The simplest if you are producing an application which just needs to be on its side is to rotate your assets:<br>Load in the images at 90degrees and translate coordinates around, but basically keep the system working as standard on stock hardware.<br>
Depending upon the performance level you hope to achieve this method may not produce desirable results, but will at least be round the corner.<br>You should be able to prove pretty quickly if this approach will work for you with just a quick hunt through your program.<br>
<br><br>The second is to actually bite the bullet and install a kernel patch to rotate the display.<br>This has been seen working by lots of people and whilst requires deeper system changes makes your coding much simpler (your assets are still laid out logically)<br>
<a href="http://sse2.net/rotate/">http://sse2.net/rotate/</a><br><br>A deeper more outlandish method would be to work around the graphics bandwidth problem by coding yourself a graphics library which is based on YUV (full resolution greyscale, lower resolution color) and see where it gets you..<br>
<br>Much like I've started to do: <a href="http://www.youtube.com/watch?v=PUPp_mE7rwI">http://www.youtube.com/watch?v=PUPp_mE7rwI</a><br><br>Obviously there are other options available, but that pretty much covers what I have heard about people doing recently.<br>
<br>Have fun<br><br>Gary (lcuk on #maemo)<br><br><br><br><br><br><br><br><div class="gmail_quote">On Sun, Jun 8, 2008 at 7:19 PM, David Greaves <<a href="mailto:david@dgreaves.com">david@dgreaves.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi<br>
I'm writing an app that would be best presented in portrait mode - can this be done?<br>
<br>
I don't mind jumping through a few hoops but I'd like to share it at some point<br>
so it needs to be done inside my app. Also it would need to scroll down (well,<br>
sideways) a fair few pages.<br>
<br>
I have it mocked up in gtk+ at the moment and it's begging to be turned through<br>
90deg.<br>
It's a touch based app so there are no typing issues.<br>
<br>
What if I use the new Qt4 port? (The Zaurus Qtopia port introduced rotation but<br>
I think that was at the fb level)<br>
<br>
David<br>
_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</blockquote></div><br>