Thread
:
Frodo C64 Emulator is Here!
View Single Post
fanoush
2008-04-04 , 14:09
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#
48
Originally Posted by
blachner
You can find informations about it here:
http://maemo.org/community/wiki/gamedevelopment/
There is one problem with Xsp. It is inherently unsafe. You turn pixel doubling on and off and it has global effect but you're not guaranteed to be the only one updating the screen. Any random system screen update (even in full screen - infoprint, task navigator menu, ...) can mess up the screen to the point you need to reboot to see anything again. Otherwise it mostly works :-) In OS2006 it was enough to turn it on, blit the rectangle via SDL and then turn it off again, in OS2007 it didn't work for me and output was not pixel doubled until I turned it on and left it on. One can then check SDL focus lost event to turn it off but it was not fast enough for me, the menu popped up by home key was faster when I tried :-(
The safe way is how mplayer does it, use direct framebuffer ioctl for screen update. This update has pixeldoubling flag which is valid only for that specific screen update.
Would be nice to have optimized SDL for current line of tablets with such direct framebuffer stuff. Sadly there is no time, only ideas.
__________________
Newbies click
here
before posting. Thanks.
If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
Quote & Reply
|
fanoush
View Public Profile
Send a private message to fanoush
Visit fanoush's homepage!
Find all posts by fanoush