[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Plasma::Svg and performance
From:       Jamboarder <jamboarder () yahoo ! com>
Date:       2008-10-15 17:06:21
Message-ID: 860180.47979.qm () web37305 ! mail ! mud ! yahoo ! com
[Download RAW message or body]

> From: Aaron J. Seigo <aseigo@kde.org>
> > setImagePath (if the path is different that the current one)
> this only affects Plasma::SharedSvgRenderer usage, and is local to any given 
> Plasma::Svg object.

Might the pixmap cache end up holding data for svg paths that are no longer being used by any \
instance of Plasma::Svg? (perhaps this was the memory leak you mentioned).


> 
> yes, in Plasma::Theme. why? it knows when the theme parameters change.
> 
Ah, that make sense. :-)  Although it does raise one additional question for me.  I'm not sure \
if it is the intended use but is it possible/desirable that Plasma::Svg might be used without \
Plasma::Theme (for example to render non-theme-related svg files).

In any case are theme parameter changes the only vector for changes that might warrant a \
clear/refresh of svg related cache data?  (sorry that was two questions...).

Respect,
Andrew (Jamboarder) Lake
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic