Revision 922447

Go back to digest for 8th February 2009

Optimization in User Interface

Michael Pyne committed changes in /trunk/KDE/kdeartwork/kscreensaver/kdesavers/asciiquarium:

The new Qt 4.5 raster graphics system has *horrible* performance with this screensaver, so try to do the painting in a more uniformly performant manner.

This seems to make the X11 engine very slightly slower but it makes the raster engine *much* faster (and OpenGL still works...).

Will backport due to the extreme amount of slowdown experienced.

Major changes are to use Source composition mode in a lot of spots to avoid using alpha-blended bitBlts.
In addition the back buffer is always full blitted to the window, the dirty regions are ignored now.

File Changes

Modified 4 files
  • /trunk/KDE/kdeartwork/kscreensaver/kdesavers/asciiquarium
  •   /aasaver.cpp
  •   /frame.cpp
  •   /screen.cpp
  •   /screen.h
4 files changed in total