SDL with two outputs

Hi. I’m running SDL under Linux console (framebuffer), with a double head video card (i.e. I have both /dev/fb0 and /dev/fb1 available).

Is it possible to create two video outputs from a single SDL program?

Thanks!

Carlos

Carlos Vrancken wrote:

Hi. I’m running SDL under Linux console (framebuffer), with a double
head video card (i.e. I have both /dev/fb0 and /dev/fb1 available).

Is it possible to create two video outputs from a single SDL program?

Thanks!

Carlos



SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

The short answer is “no” – SDL only supports one window at the moment.
The long answer usually comes down to this: create two programs, one a
master and the other a slave, and communicated what should be drawn from
the master to the slave.

That actually makes sense, I’l’l try something with fork and pipe, I
guess.

Thanks a lot,

CarlosOn Wed, 13 Apr 2005 14:42:44 -0600, “John Silicon” said: Carlos Vrancken wrote:

Hi. I’m running SDL under Linux console (framebuffer), with a double
head video card (i.e. I have both /dev/fb0 and /dev/fb1 available).

Is it possible to create two video outputs from a single SDL program?

Thanks!

Carlos



SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

The short answer is “no” – SDL only supports one window at the moment.
The long answer usually comes down to this: create two programs, one a
master and the other a slave, and communicated what should be drawn from
the master to the slave.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

@Carlos_Vrancken