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

Re: SV: [pygame] Fullscreen perfomance problems



Your driver are too old ?

http://www.pygame.org/docs/tut/newbieguide.html
It might be slower anyway. Many drivers are not accelerated for the types of drawing that we do, and since everything has to be blitted across the video bus (unless you can cram your source surface into video memory as well), it might end up being slower than software access anyway.


John Eriksson a écrit :
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