Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Raspberry Pi Support?  (Read 3274 times)

0 Members and 1 Guest are viewing this topic.

Makuto

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
    • Au 79 Games
    • Email
Raspberry Pi Support?
« on: July 27, 2012, 12:15:18 am »
I've just ordered a Raspberry Pi (not sure when it will come, but I don't think I'll be waiting too long), and was wondering how well SFML works with the Pi. Does the library need to be edited internally in order to support OpenGL ES? Has anyone started working on something like that?
Macoy Madson-Au 79 Games
Check out my work at http://augames.f11.us/
Most of my SFML-related code is here: https://github.com/makuto/personal/tree/master/gameDev/resources/base2.0
I try to KIS(S), do you?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Raspberry Pi Support?
« Reply #1 on: July 27, 2012, 12:33:14 am »
It's same as for Android which was discussed in some other threads (use the seach function to find them) and yes if you'd want to run it on a Raspberry Pi you'd need to rewrite at least the graphics part to use OpenGL ES. This will probably/hopefully be done by Laurent somewhere far away in the future, but feel free to do it on your own. ;)

Additionally I'm not very familiar with the hardware of the RP so it could be that other parts of SFML would also need a rewrite. On top of that I don't know how well RP does support graphical stuff e.g. does it even have a GPU? If everything is run on the CPU (around 700MHz right?) you probably won't get that much of usefull framerate.

But like I said I've know idea about RP and it could work like a champ on there (once ported to use OpenGL ES).
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Makuto

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
    • Au 79 Games
    • Email
Re: Raspberry Pi Support?
« Reply #2 on: July 27, 2012, 01:09:54 am »
It does in fact have a GPU which seems reasonably sufficient for SFML, and yes, the processor runs at around 700mHz. It seems like it'll be a big project, but definitely worth it!
Macoy Madson-Au 79 Games
Check out my work at http://augames.f11.us/
Most of my SFML-related code is here: https://github.com/makuto/personal/tree/master/gameDev/resources/base2.0
I try to KIS(S), do you?

Qix

  • Full Member
  • ***
  • Posts: 139
  • I am Qix!
    • View Profile
    • Natoga Technologies
Re: Raspberry Pi Support?
« Reply #3 on: September 20, 2012, 01:21:49 pm »
Just throwing this out there; IIRC, RP is running on ARM.

However much re-writing of SFML this would also require is beyond me. However, it does support full Linux ports, so I can't see a port to RP too far off the scale of possibility.
~ Qix
Creator of Rippl Studio
Code: [Select]
<danharibo> iostream: I don't do enough drugs to think that's a good idea.