Revision 623452

Go back to digest for 21st January 2007

Optimization in Multimedia

Koos Vriezen committed changes in /trunk/extragear/multimedia/kmplayer/src:

Cairo on N770 is really sloowww. Luckily I found that reducing nested clip depth speeds it up greatly, so rectangle+fill instead of paint.

Save cached images as scaled ones, saving CPU on each paint.
Unfortunately that means no convenient scale/translate on cairo_t, but calculate the positions and sizes while painting

File Changes

Modified 2 files
  • /trunk/extragear/multimedia/kmplayer/src
  •   /kmplayer_smil.h
  •   /viewarea.cpp
2 files changed in total