Faster background drawing. Speeds up a lot zooming operations and general compositing.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=701053
This commit is contained in:
parent
f1855dd6b2
commit
341c3700eb
4
svg.cpp
4
svg.cpp
@ -135,7 +135,9 @@ class Svg::Private
|
|||||||
renderer->render(&renderPainter, elementId);
|
renderer->render(&renderPainter, elementId);
|
||||||
}
|
}
|
||||||
renderPainter.end();
|
renderPainter.end();
|
||||||
QPixmapCache::insert( id, p );
|
bool inserted = QPixmapCache::insert( id, p );
|
||||||
|
if (!inserted)
|
||||||
|
kDebug() << "pixmap cache is too small for inserting" << id << "of size" << s;
|
||||||
}
|
}
|
||||||
|
|
||||||
void createRenderer()
|
void createRenderer()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user