[SDL] Grabbed Mouse after crash on Linux

Jochen Schäfer js.josch at gmx.de
Thu Jan 27 01:41:35 PST 2005


i think he means it would be faster if the raw file was loaded into ram and
decompressed there.

----- Original Message ----- 
From: "Gabriel" <mystml at adinet.com.uy>
To: "A list for developers using the SDL library. (includes SDL-announce)"
<sdl at libsdl.org>
Sent: Thursday, January 13, 2005 9:59 AM
Subject: Re: [SDL] Fast IMG Load


> > I need to load a lot of images using too much memory space when loaded:
> > 152 images, 35kb each but in memory they are much bigger because of
image
> > uncompression and byte alignment.
> > My idea is to read all the image data compressed in png format in memory
> > and load the images from memory instead of disk.
>
> The only way this would take less space than just loading the images
> would be keeping the compressed data in memory and decompress it on the
> fly while blitting. I bet that's too slow to be of any practical value :
> (
>
>
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl





More information about the SDL mailing list