Revision 692486

Go back to digest for 29th July 2007

Optimization in Games

Dmitry Suzdalev committed changes in /trunk/KDE/kdegames/katomic:

This speeds up level switching.
It took a long time for me to understand why previous variant is slower, and i still not sure.

But I guess it is QPixmap::fill(Qt::transparent) that eats time :)
In this place it can be avoided, but there are others where it can't be (like when rendering from svg to pixmap)
Or?...

File Changes

Modified 2 files
  • /trunk/KDE/kdegames/katomic
  •   /playfield.cpp
  •   /playfield.h
2 files changed in total