Review Request: frame plasmoid: image load and scaling with threads

Sebastian Kügler sebas at kde.org
Mon Mar 8 20:18:10 CET 2010


On Monday 08 March 2010 19:50:42 Aaron Seigo wrote:
>     as far as i can see, the loader is never deleted. it emits its signal,
> pictureLoaded is called, and then the object is dropped and just sits
> there in memory.

As far as I can see, it sits there to hold the image at its original size, which 
is needed for rescaling correctly (no need to store it at full size though, as I 
said, screen reso with some fallback loading is probably good enough).

The previous code (before I reworked is did that differently: it nuked the image 
data from the cache after a couple of seconds, meaning that it had to be loaded 
once the user wanted to resize -> jerky feeling.
-- 
sebas

 http://www.kde.org | http://vizZzion.org |  GPG Key ID: 9119 0EF9 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20100308/97e9fe61/attachment.sig 


More information about the Plasma-devel mailing list