[SDL] RE:Half Speed on 32 Bit Desktops

Bob Pendleton bob at pendleton.com
Tue Jan 11 07:07:43 PST 2005

On Tue, 2005-01-11 at 06:52 -0800, Jason Robertson wrote:
> David Olofson wrote:
> >  Half speed compared to what?
> Sorry I should've been more specific. I assumed we
> assumed there are only 2 bit depths to compare :)
> I see thats the reason, but what are the options to
> speed things up? 16 bit textures? Dirty rects? 
> It seems to be slow just to clear the screen each
> frame. 

If you are updating small areas of the window then dirty rectangles is a
good approach. The smaller the amount of data that has to be copied the
faster it will go. 

OTOH, it is almost always the case that using OpenGL is the right way to
go, even for purely 2D applications. 

		Bob Pendleton

> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - Easier than ever with enhanced search. Learn more.
> http://info.mail.yahoo.com/mail_250
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl

More information about the SDL mailing list