Strange behaviour

Hi,

Using of SDL_HWACCEL flag in SDL_SetAlpha after loading pictures dramatically decreases FPS
with SDL_SWSURFACE. WinXP.

Looks like SDL improperly set up blitter for the case:

video mode: SDL_SWSURFACE
flags of picture: SDL_HWACCEL | SDL_SRCALPHA–
Best regards,
Dmitry Yakimov, ISDEF member
ActiveKitten.com

I’m not sure but it may be a case of
alpha-blitting-must-read-video-pixels-which-is-extremely-slow. I think
this may be quite documented in the FAQs…

/OlofOn Mon, 1 Nov 2004 09:34:40 +0300, Dmitry Yakimov wrote:

Hi,

Using of SDL_HWACCEL flag in SDL_SetAlpha after loading pictures dramatically decreases FPS
with SDL_SWSURFACE. WinXP.

Looks like SDL improperly set up blitter for the case:

video mode: SDL_SWSURFACE
flags of picture: SDL_HWACCEL | SDL_SRCALPHA


Best regards,
Dmitry Yakimov, ISDEF member
ActiveKitten.com


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl