I’m wondering on the status of SDL2 in framebuffer mode on this hardware. Specifically, I’m looking at accelerated framebuffer support; I don’t need (or want in this case) X11 support. It is for an OrangePi-like system where my code is SDL2-based (Stella, Atari 2600 emulator), but the current builds only support kernel 3.x, SDL1 and a much older version of the software.
I’d like to get the userland working with whatever is needed for up-to-date SDL2 support (I guess a new kernel, updated drivers, etc). Can anyone point me in the right direction??
SDL2 doesn’t offer framebuffer support anymore. It does it by putting your ‘framebbuffer’ in a texture and drawing the texture on screen. So if you don’t have proper 3d support on that device, it will probably be pretty slow.
If there is OpenGL ES hardware support, I guess it should work under X11. For raspberry pi it works outside X11 but not sure if it’s ported for other similar platforms.
Thanks for the info. Can anyone specifically familiar with the RPi situation say if Mali400 hardware supports 3D acceleration/OpenGL ES outside X11 for platforms other than the Pi?
Thanks for the info and links. I forgot to respond to the previous poster that the link he provided actually pointed me to the SDL fork that you mention. And now that I see it’s working on a semi-intensive game, I’m much more confident I can get it to work for my simple application.