SFML community forums
General => Feature requests => Topic started by: Tronic on October 24, 2010, 02:38:13 am
-
It would be nice to have SFML for the Nokia N900 phone. Since the Maemo OS that the phone uses is essentially a desktop Linux system, porting SFML might only require compiling and .deb packaging, at least if SFML can run on GLES2.
Any chance of that happening or are there some obstacles that I am overlooking?
I will install the SDK and hack around a bit to get used to that and after a while I could probably try porting SFML myself, if it seems feasible. Maemo already has all the libraries that SFML depends on (as well as plenty of others such as Boost, SDL, glibmm, ...).
-
SFML is not ready for OpenGL ES (especially 2.0), but this is my next big task, after SFML 2.0 is released.
So you shouldn't bother trying to port it before I make the modifications that I have in mind ;)
-
Good to know. I'll get back to this later then, possibly on MeeGo and/or N9.
-
I'm also interested in a N900 port ( also android and iphone of course), i might be able to give a hand at porting it. Having sfml on all our (company) target platforms would help immensely , my other alternative is to implement all sfml functionality I'm using myself. but that seems like a huge waste of time :S
-
I'm also interested in a N900 port ( also android and iphone of course), i might be able to give a hand at porting it. Having sfml on all our (company) target platforms would help immensely , my other alternative is to implement all sfml functionality I'm using myself. but that seems like a huge waste of time :S
I'm not familiar with OpenGL ES, but judging from the wikipedia article it seems like a ton of work would be involved in supporting version 2.0. It seems like it would be worth investigating the devices using version 2.0 and seeing if they also support 1.0 or 1.1 (or is that how it works anyway, with the wikipedia article being misleading?)
I can tell you that most of the OpenGL function calls are located in the Graphics library (duh), so that would be the portion of the code to check out first. There's also a little use in the Window library, but only initialization code.
-
I'm not used to development on those kind of platforms(but interested!) but I think that they would need a replacement for the Window library since those platforms don't have support for windows. So a sfml-mobile or something library would be needed. Just spewing out my ideas :D
-
Of course sfml-graphics will need a major internal rewrite, and of course sfml-window will need a major API modification before one can create proper ports.
You guys should really not try to do it before I have made all the modifications I have in mind. It will be a huge waste of time.
-
I'm also interested in a N900 port ( also android and iphone of course), i might be able to give a hand at porting it. Having sfml on all our (company) target platforms would help immensely , my other alternative is to implement all sfml functionality I'm using myself. but that seems like a huge waste of time :S
I'm not familiar with OpenGL ES, but judging from the wikipedia article it seems like a ton of work would be involved in supporting version 2.0. It seems like it would be worth investigating the devices using version 2.0 and seeing if they also support 1.0 or 1.1 (or is that how it works anyway, with the wikipedia article being misleading?)
I don't know much about OpenGL, but I though that OpenGL ES 2 is basically OpenGL 3 with the deprecated stuff removed.
-
The phone works with meego which I believe can use full opengl not only opengl es. So minimal porting would be necessary. Unless of course you want to use it on android and ios.
-
The phone works with meego which I believe can use full opengl not only opengl es. So minimal porting would be necessary. Unless of course you want to use it on android and ios.
Well SFML is supposed to be Cross-platform so if Laurent decides to go Mobile he'll go mobile all the way :)
-
If one does have code that would belong in SFML (enabling it on a new platform, for example), how would one go about submitting it?
-
If one does have code that would belong in SFML (enabling it on a new platform, for example), how would one go about submitting it?
There's no "standard" or "official" way of submitting new ports (or new code in general). If someone wants to submit code, he can open a topic on the forum, or send me a PM or e-mail and then we can see what to do.
But I don't recommend writing new ports, I have a lot of things to modify internally before. I'll probably start doing it after SFML 2.0 is released.