Revision 867171

Go back to digest for 5th October 2008

Optimization in KDE Base

Maks Orlovich committed changes in /branches/KDE/4.1/kdelibs/khtml/rendering/render_image.cpp:

Significantly improve the efficiency of how we paint images when full-page scaling, by doing scaling directly with imload.

This avoids a lot of expensive operations (a drawPixmap on a scaled QPainter isn't pretty) and lets us take advantage of imload's internal caching infrastructure.

Unfortunately, this doesn't help with background images; those also need a lot of thought on how to fully take advantage of imload, including unifying of cache and pre-tile management, etc.

File Changes

Modified 1 files
  • /branches/KDE/4.1/kdelibs/khtml/rendering/render_image.cpp
1 files changed in total