Nwindows & Nmonitors status

Hi there!
I’ve been out of the loop for a little while now, I’ve been
programming a strong OO structure but without any input/output (having
in mind lotsa polymorphic interfaces, one with SDL).

I know SDL 1.3 is going to provide support for multiple windows and
multiple monitors. I’ve searched through the newsgroup posts and I was
wondering if there were any limitations to this (for example on systems
without a window manager, etc…) and also I was wondering if the
documentation was being written along with the code? I am also
wondering if it will be possible to open an OpenGL context in those
multiple windows?

Also, just to feed my curiosity, in the case of multiple monitor
display, is going to be treated as multiple windows (ie surfaces) at
different positions and program needs to send two separate renders? Or,
is it going to be like one large surface and SDL does the splitting for
you? And last about multiple monitors, will there be a way to find out
the relative position of the monitors (in case they are not side-by-side
but one on top of the other or in diagonal… odd but could happen).

Thanks in advance and looking forward for a stable version!
Simon

I know SDL 1.3 is going to provide support for multiple windows and
multiple monitors. I’ve searched through the newsgroup posts and I was
wondering if there were any limitations to this (for example on systems
without a window manager, etc…) and also I was wondering if the
documentation was being written along with the code?

Yes, the documentation is mostly in the header files right now. A full
suite of documentation and tutorials is planned for the release.

I am also
wondering if it will be possible to open an OpenGL context in those
multiple windows?

Yes. You can use a single context for multiple windows, but you need a
new context for each monitor.

Also, just to feed my curiosity, in the case of multiple monitor
display, is going to be treated as multiple windows (ie surfaces) at
different positions and program needs to send two separate renders?

Yes.

And last about multiple monitors, will there be a way to find out
the relative position of the monitors (in case they are not side-by-side
but one on top of the other or in diagonal… odd but could happen).

I’m still looking into that. Most multi-monitor systems don’t provide
this information.

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