Multiple Windows support in SDL1.3?

Hi,

I just came across this
linkhttp://icculus.org/cgi-bin/finger/finger.pl?user=icculus&date=2007-10-07&section=sdl13which
says that SDL1.3 would support multiple windows for playing multiple
videos simultaneously.
Now my query is
a) Has this support been incorporated?
If not, then is it still in pipeline or has it been dropped?
And if its still to be done, would you be kind enough to give an idea about
its release date?

The point is that we have built an application using SDL 1.2.12 that plays
one video at a time. And now we want to support playing multiple videos
simultaneously.

b) Is there any stable release of SDL1.3 available?

Thanks,
Taranpreet

Now my query is
a) Has this support been incorporated?

Multiple windows has been implemented, but YUV colorspace output has not
yet been implemented. There’s some debate as to whether it should be
implemented using something like XVideo or as YUV textures in the underlying
3D driver.

b) Is there any stable release of SDL1.3 available?

There’s a pre-release snapshot available here:
http://www.libsdl.org/tmp/SDL-1.3.zip

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

Thanks for the information Sam.

TaranpreetOn Thu, Oct 30, 2008 at 11:31 AM, Sam Lantinga wrote:

Now my query is
a) Has this support been incorporated?

Multiple windows has been implemented, but YUV colorspace output has not
yet been implemented. There’s some debate as to whether it should be
implemented using something like XVideo or as YUV textures in the
underlying
3D driver.

b) Is there any stable release of SDL1.3 available?

There’s a pre-release snapshot available here:
http://www.libsdl.org/tmp/SDL-1.3.zip

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


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

Thanks for the information Sam.

You’re welcome! :slight_smile:

-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment

Hi,

I’ve tried creating multiple windows (using SDL_CreateWindow family api) but
am not able to simultaneously display multiple videos onto it. The only
window on which overlay is getting created is the one that’s formed using
SetVideoMode api.

My main intent is to use SDL to play multiple videos simultaneously and am
quite new to SDL and this domain in general. So I would really appreciate if
somebody can help me out with this.

Also, I was working on the lines of using multiple threads to achieve this
but dropped that approach when I came across some posts saying that multiple
threads wont achieve this as different threads on each process would not be
able to use different invocations of the SDL library. Can you please confirm
this.

Thanks in advance.On 10/30/08, Sam Lantinga wrote:

Thanks for the information Sam.

You’re welcome! :slight_smile:

   -Sam Lantinga, Lead Software Engineer, Blizzard Entertainment

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

This probably means that SDL is not falling back to a YUV->RGB conversion blit (by whatever means that would be done) when the single overlay slot is taken.

PC graphics cards (and probably all others that support YUV overlays) do not support more than one overlay at once, period.

Basically it’s displayed using sprite hardware (akin to the mouse pointer) that is very specialized, and not designed to display multiple regions at all.

So SDL ought to be doing conversion blits on all but one of them (or on all of them - it would be simpler).

Note that overlays display some artifacts when dragging windows around, which is the easiest way to tell if something is an overlay (watch the overlay lag behind and only display in part of the pure
blue region of the window, which is normally entirely hidden by the overlay).

Preeti Anand wrote:> Hi,

I’ve tried creating multiple windows (using SDL_CreateWindow family
api) but am not able to simultaneously display multiple videos onto it.
The only window on which overlay is getting created is the one that’s
formed using SetVideoMode api.

My main intent is to use SDL to play multiple videos simultaneously and
am quite new to SDL and this domain in general. So I would really
appreciate if somebody can help me out with this.

Also, I was working on the lines of using multiple threads to achieve
this but dropped that approach when I came across some posts saying that
multiple threads wont achieve this as different threads on each process
would not be able to use different invocations of the SDL library. Can
you please confirm this.

Thanks in advance.

On 10/30/08, Sam Lantinga <slouken at devolution.com <mailto:slouken at devolution.com>> wrote:

> Thanks for the information Sam.

You're welcome! :)

       -Sam Lantinga, Lead Software Engineer, Blizzard Entertainment
_______________________________________________
SDL mailing list
SDL at lists.libsdl.org <mailto: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


Forest ‘LordHavoc’ Hale
Author of DarkPlaces Quake1 engine and mod
http://icculus.org/twilight/darkplaces/
Address: 94340 Horton Road Blachly OR 97412
Phone/Fax: 541-925-4130