Svgalib in SDL2?

Hello,

I use the svgalib driver for my SDL applications, as I am not running X. I’m starting to see SDL2 applications come out, but it looks like SDL2 doesn’t have svgalib support.

Is that correct? Is there any way I can compile in support for svgalib in SDL2?

Thanks!

That’s correct, SDL 2 doesn’t currently have support for svgalib.

You’re welcome to contribute a patch though. Since SDL 2.0.1 supports the
raspberry pi, it shouldn’t be too hard to add a new console variant that is
framebuffer-only and supports only the software renderer.

I’m sure Gabriel will chime in on this. :)On Mon, Oct 21, 2013 at 4:19 PM, foul_owl wrote:

**
Hello,

I use the svgalib driver for my SDL applications, as I am not running X.
I’m starting to see SDL2 applications come out, but it looks like SDL2
doesn’t have svgalib support.

Is that correct? Is there any way I can compile in support for svgalib in
SDL2?

Thanks!


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I’ve noticed many similarities with the 1.2 svgalib backend while
desperately googling for stuff for the RPi backend (I always love it when
you search for arcane knowledge on Google, and the only reference you get
is code from SDL :slight_smile: ).

For the RPi backend we added/fixed a mouse pointer, evdev input, etc. So
you probably just need to plug in the graphics side. I do wonder what are
the advantages of doing this, it seems like every new embedded device now
comes with some form of OpenGL ES support, which combined with software
surfaces may be the easiest route to get your apps working there.

2013/10/23 Sam Lantinga > That’s correct, SDL 2 doesn’t currently have support for svgalib.

You’re welcome to contribute a patch though. Since SDL 2.0.1 supports the
raspberry pi, it shouldn’t be too hard to add a new console variant that is
framebuffer-only and supports only the software renderer.

I’m sure Gabriel will chime in on this. :slight_smile:

On Mon, Oct 21, 2013 at 4:19 PM, foul_owl wrote:

**
Hello,

I use the svgalib driver for my SDL applications, as I am not running X.
I’m starting to see SDL2 applications come out, but it looks like SDL2
doesn’t have svgalib support.

Is that correct? Is there any way I can compile in support for svgalib in
SDL2?

Thanks!


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Gabriel.