[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: SV: [pygame] Fullscreen perfomance problems



Hi

I think: do not use hardware accelerated surfaces, they are more trouble. ;-)

~DR0ID


John Eriksson schrieb:
Ok, some progress.

This gives poor perfomance:
FULLSCREEN|DOUBLEBUF|HWSURFACE

This gives poor perfomance:
FULLSCREEN|DOUBLEBUF

This gives poor perfomance and some bad flickering:
FULLSCREEN|HWSURFACE

This gives perfect result:
FULLSCREEN

What do you think about this?

/John



---------  Ursprungligt Meddelande --------
Från: pygame-users@xxxxxxxx
Till: pygame-users@xxxxxxxx <pygame-users@xxxxxxxx>
Ämne: [pygame] Fullscreen perfomance problems
Datum: 2007/05/30 19:46

Hi,

I'm having huge perfomance problems when testing my game Slingshot in
fullscreen mode. There are no perfomance problems what so ever when
playing
in windows mode.

I've tried both with and without hardware surface display. When trying to
convert the images there are a huge perfomance boost but then I loose the
alpha values.

I've also tried to use convert_alpha but without improvement.

The original images are PNG with alpha-channel.

Is there anything I can do or is it impossible to get alpha-blitting
perfomance in fullscreen mode.

Oh, yeah...I only have this problems on Windows XP. There are no problems
on
Linux.

All ideas are welcome!

Best Regards
/John Eriksson