Different settings, different speeds

I’ve noticed that for a given SDL_init color depth, the speed of blitting varies depending of X color depth settings.

For example if i set SDL_init to 16 bpp, the blitting speed is two times greater if X is also set to 16bpp than 24 bpp.
Is it normal?

Cheers,

  Ragno "The Spider" Stefano.

That?s okay, because SDL has to convert ( shift ) all the 16bpp pixels to 24bpp.
I think there is no faster way converting between different bpps than shifting.

CU

"The Spider " schrieb im Newsbeitrag news:mailman.1004829541.4390.sdl at libsdl.org…> I’ve noticed that for a given SDL_init color depth, the speed of blitting varies depending of X color depth settings.

For example if i set SDL_init to 16 bpp, the blitting speed is two times greater if X is also set to 16bpp than 24 bpp.
Is it normal?

Cheers,

  Ragno "The Spider" Stefano.