Content-Type: text/plain; charset=“iso-8859-1”
Eww… What happened to my formatting?
The fastest way is to use hardware acceleration through OpenGL or DirectX.
The easiest is to use Sprig or SDL_gfx. I’m not sure that your computer
can handle stretching an image of that size at 60hz. Try a lower framerate.
My stuff runs real smooth at 40hz, but I try to use 33 for speed. Either
way, you’re saving megabytes of data transfer each second.
You can use SPG_TransformSurface to draw on a pre-existing surface (with
colorkey too!). That saves an extra copy and delete in many cases.
SDL mailing list
SDL at lists.libsdl.org
End of SDL Digest, Vol 19, Issue 58
I’ll be more clear:
I’ve tried to make the image of 320x240 20% bigger(384 x 288)
on my pc that has a proc Athlon64 3500+(2,2 GHZ)
and it can’t do it at 60fps.
I don’t know the processor usage of this kind of work but think my proc can
get 60fps with the image going to 800x600.
It can’t get even the 20% its nos acceptabel for me.
Thanks for the answers.> Date: Fri, 25 Jul 2008 11:00:37 -0400
From: Jonathan Dearborn
Subject: Re: [SDL] Image resize
To: "A list for developers using the SDL library. (includes