[Fwd: [JEDI-SDL] SDL dual head display: problem]

Hi all,

One of the JEDI-SDL is having a problem with Dual-Head displays under
Windows. Is anyone here able to shed some light on this problem and if
there is a work around available.

-------- Start Original Message --------
hi

i need to create a full-screen mode dual-head display, e.g.
2048x768.

Using SDL under linux, it works perfectly well, all you have to do
is set the desired resolution and it works beautifully either in
windowed or full screen mode.( I am using a GeForce card with nview).

with the same hardware and SDL commands under windows (XP), it only
works in windowed mode. when attempting to run in full-screen mode
(SDL_FULLSCREEN) the image is displayed ONLY on the primary monitor,
and is squashed horizontally. Can anyone tell me how to make it
work?!

I’d be extremely grateful for any help here!

thanks!
Caroline

-------- End Original Message --------

thanks,

Dominique
http://www.DelphiGamer.com := go on, write a game instead;

Hi all,

One of the JEDI-SDL is having a problem with Dual-Head displays under
Windows. Is anyone here able to shed some light on this problem and if
there is a work around available.

As far as I know, Windows doesn’t allow you to create a fullscreen graphics
context that spans multiple monitors. I could be wrong though… anybody?

SDL cheats on Linux, by pretending to be fullscreen on X11 even though it’s
still running in a window. You’ll notice you can’t do that with the DGA
driver or any of the console drivers.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Sometime ago I did a OpenGL screensaver, that spans on all available
monitors automaticaly. I only used OpenGL.On my code, I did nothing related to screen resolution. Because it’s a screensaver, Windows give me a already-sized, fullscreen, device context to use, so, I think, that’s possible to do what you want. Sam Lantinga wrote:

Hi all,

One of the JEDI-SDL is having a problem with Dual-Head displays under
Windows. Is anyone here able to shed some light on this problem and if
there is a work around available.

As far as I know, Windows doesn’t allow you to create a fullscreen graphics
context that spans multiple monitors. I could be wrong though… anybody?

SDL cheats on Linux, by pretending to be fullscreen on X11 even though it’s
still running in a window. You’ll notice you can’t do that with the DGA
driver or any of the console drivers.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment


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

Sometime ago I did a OpenGL screensaver, that spans on all available
monitors automaticaly. I only used OpenGL.

On my code, I did nothing related to screen resolution. Because it’s
a screensaver, Windows give me a already-sized, fullscreen, device
context to use, so, I think, that’s possible to do what you want.

I’m pretty sure that screensavers get a window that spans multiple
monitors, not a fullscreen device context. One of the things that
makes me think I’m right is that OpenGL doesn’t work with DirectX. :slight_smile:

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

I see. I can suggest a look into GLUT source code ( I don’t know if
there is a opensource version for Windows ).

I’ll try some other screensaver that needs to change resolution and
see if they work on multiple monitors.

Sam Lantinga wrote:>>Sometime ago I did a OpenGL screensaver, that spans on all available

monitors automaticaly. I only used OpenGL.

On my code, I did nothing related to screen resolution. Because it’s
a screensaver, Windows give me a already-sized, fullscreen, device
context to use, so, I think, that’s possible to do what you want.

I’m pretty sure that screensavers get a window that spans multiple
monitors, not a fullscreen device context. One of the things that
makes me think I’m right is that OpenGL doesn’t work with DirectX. :slight_smile:

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment


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

I see. I can suggest a look into GLUT source code ( I don’t know if
there is a opensource version for Windows ).

I’ll try some other screensaver that needs to change resolution and
see if they work on multiple monitors.

I don’t see why it’s a problem. As I said, you can make a window that
has no frame and covers both monitors, like other apps do.

-Sam Lantinga, Software Engineer, Blizzard Entertainment