[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: [PATCH]: KIconLoader::loadIcon() speed ups
From: "Aaron J. Seigo" <aseigo () kde ! org>
Date: 2007-11-05 5:13:30
Message-ID: 200711042213.31051.aseigo () kde ! org
[Download RAW message or body]
On Sunday 04 November 2007, Aaron J. Seigo wrote:
> hi all..
>
> attached is a patch that rather dramatically improves the speed of
> KIconLoader::loadIcon().
i should also note that we're still doing one QImage -> QPixmap conversion in
there when we don't get to hit the cache ... we ought to try and kill that as
well one of these days.
there are 2 things that definitely still need it:
- the favicon overlay thing which is scanline based
- the effects
the svg rendering might also want it as it might be faster than the painting
to a pixmap depending on how well the pixmap painter engine does.
with some additional care, we might be able to take out the image->pixmap
conversion for the cases where there is no effect to be applied. this should
further speed things up in the populating-the-cache scenario. granted, that's
supposedly a one time cost, but it's still there to be paid.
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Trolltech
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic