[SDL] Blitting speeds

John Garrison jeg at visi.net
Thu Aug 26 23:16:08 PDT 1999

Prasanth Kumar wrote:
> John Garrison wrote:
> >
> > > I'm kind of new to SDL but did you do a 'DisplayFormat' operation
> > > before you
> > > do blitting? If the pixel format differs between the two surfaces,
> > > SDL will

> The other thing to consider is whether you are running the best suited
> SDL video mode? If not, then every time it is blitted to the screen
> would
> it need to do the pixel format conversion? They documentation suggest
> you
> convert the bitmaps (sprites) to match the best video mode and blit
> that.
Yeah I found that out before I was running in 32bit video and the app
was 16 bit but I switched to 16 bit and it sped up.
> --
> Prasanth Kumar
> kumar1 at home.com

More information about the SDL mailing list