[SDL] Re: slooow
pp at ludusdesign.com
Thu Apr 13 06:54:03 PDT 2000
Mattias.Blomqvist at nokia.com wrote:
> > That seems very wrong. What depth is your display set to?
> > SDL_BlitSurface() shouldn't take 50 ms for even a 1024x768 blit, since
> > it's using inline assembly version of memcpy(), unless it's doing a
> > complicated unoptimized conversion blit (which almost never happens)
> Depth is 32.
Just FYI, as this is a programming forum and this is an often confused
thing: in this case, the color depth is 24 (the number of bits actually
used) and the bits per pixel is 32 (the number of bits a single pixel
occupies in the frame buffer memory).
Color depth <= bits per pixel, all the time. There are some uncommon
video boards that can do a 30 bits color depth, apparently (according to
More information about the SDL