If you’re using the 1.2 API, and you manage to find some way to pass the window’s
SDL_Surface pointer from the one app to the other, then maybe. ?Not sure, since
I’ve never tried it.
Under the SDL 1.3 API, that’s a definite no, since it uses opaque handles that
are managed internally by SDL, inside each process’s own memory space.
Hi all, can SDL render on surfaces on a window created by another application?
Hi Mason, Thanks for your prompt reply… so if I am using Linux, will
there be a way to find out the XServer assigned window ID from the
window ID SDL uses internally?> Date: Wed, 14 Oct 2009 09:20:39 -0700 (PDT)
From: Mason Wheeler
To: SDL Development List
Subject: Re: [SDL] question
----- Original Message ----
From: Ratin <@Ratin>
Subject: [SDL] question
Yes, you can use SDL_GetWMInfo().
There’s an example in the scrap demo on the SDL website: http://www.libsdl.org/projects/scrapOn Wed, Oct 14, 2009 at 5:11 PM, Ratin wrote:
Date: Wed, 14 Oct 2009 09:20:39 -0700 (PDT)
From: Mason Wheeler
To: SDL Development List
Subject: Re: [SDL] question
Message-ID: <901145.44476.qm at web53206.mail.re2.yahoo.com>
Content-Type: text/plain; charset=us-ascii
If you’re using the 1.2 API, and you manage to find some way to pass the window’s
SDL_Surface pointer from the one app to the other, then maybe. ?Not sure, since
I’ve never tried it.
Under the SDL 1.3 API, that’s a definite no, since it uses opaque handles that
are managed internally by SDL, inside each process’s own memory space.
----- Original Message ----
From: Ratin
Subject: [SDL] question
Hi all, can SDL render on surfaces on a window created by another application?
Hi Mason, Thanks for your prompt reply… so if I am using Linux, will
there be a way to find out the XServer assigned window ID from the
window ID SDL uses internally?