Revision 809426

Go back to digest for 25th May 2008

Optimization in KDE Base

Fredrik Höglund committed changes in /trunk/KDE/kdelibs/khtml/misc/paintbuffer.h:

Improve performance when rendering CSS opacity layers, by using CompositionMode_DestinationIn to reduce the alpha of the layers before rendering them, instead of using QPainter::setOpacity().

With this change we no longer end up in QPainterPrivate::draw_helper(), and the rendering is fully accelerated in hardware with drivers that accelerate Xrender.

File Changes

Modified 1 files
  • /trunk/KDE/kdelibs/khtml/misc/paintbuffer.h
1 files changed in total