Dirk Meyer wrote:
> Hi,

Hi Dischi,

> stupid question to someone who knows SDL: is it possible to create an
> external output lib? Or do I need to patch the source? I need a way to
> make SDL output into _memory_. Why? I want to make it possible to run
> SDL apps like ScummVM on a canvas layer. Are there SDL experts here?

Good idea for an output plugin!

I think you have to patch the source because all outputs seem to be
compiled into the libSDL:

# ldd /usr/lib/libSDL-1.2.so.0.7.2
        linux-gate.so.1 =>  (0xffffe000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7e96000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7e92000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7dc7000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7db9000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7da7000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7c70000)
        /lib/ld-linux.so.2 (0x80000000)

# ls /usr/lib/libSDL
libSDL-1.2.so.0            libSDL_image-1.2.so.0
libSDL_ttf-1.2.so.0.2.0
libSDL-1.2.so.0.7.2        libSDL_image-1.2.so.0.1.3  libSDL_ttf-2.0.so.0
libSDL.a                   libSDL_mixer-1.2.so.0
libSDL_ttf-2.0.so.0.6.1
libSDL.la                  libSDL_mixer-1.2.so.0.2.4  libSDLmain.a
libSDL.so                  libSDL_ttf-1.2.so.0

I would rather see a directory structure like DirectFB with all the
drivers and plugins in one dir.  So, I think you will have to patch the
source and build the output plugin as part of the lib.  Damn, that sucks.

Just FYI, you can see the output plugins here:

http://www.libsdl.org/cgi/cvsweb.cgi/SDL12/src/video/

-Rob

-- 
-------------------------------------------------------
Rob Shortt        | http://tvcentric.com | Freevo
[EMAIL PROTECTED] | http://freevo.sf.net | Free your TV

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to