Review Request: Delayed cache insertion in framesvg

Marco Martin notmart at gmail.com
Sat Nov 29 17:39:38 CET 2008


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.vidsolbach.de/r/287/
-----------------------------------------------------------

Review request for Plasma.


Summary
-------

with the free resizing patch it occurred that framesvgs are quickly generated and regenerated each micro resize during the scale
in that case (as fredrik immediately noted :) caching becames very expensive due to disk writes and qimage conversions
this patch adds a timer that saves the rendered frame only when it stayed still for some time, so ideally caching only the size before and after the resizing


Diffs
-----

  /trunk/KDE/kdelibs/framesvg.h
  /trunk/KDE/kdelibs/framesvg.cpp

Diff: http://reviewboard.vidsolbach.de/r/287/diff


Testing
-------


Thanks,

Marco



More information about the Plasma-devel mailing list