Commit Graph

13 Commits

Author SHA1 Message Date
Aaron Seigo
97743420a0 add a wallpaper render that takes a pre-loaded QImage. FAR FAR faster than re-loading from disk if already in memory.
new API (new overload, really), but required to fix iperformance issues elsewhere, so considered a bug fix
2011-10-30 10:24:57 +01:00
Aaron Seigo
23784d26bb less profanity 2011-10-30 01:58:11 +02:00
Kevin Ottens
f56a273bac Include config-plasma.h to get PLASMA_NO_SOLID defined 2011-05-03 11:54:19 +02:00
Aaron Seigo
b0ef0e7991 wallpaper thrading simplifications 2011-04-30 17:17:44 +02:00
Thiago Macieira
b94b7b1d54 Don't call setPriority on a non-started thread.
QThread documentation says this doesn't do anything, so it's just
pointless. More than that, though, it's printing a warning.

svn path=/trunk/KDE/kdelibs/; revision=1146963
2010-07-07 07:22:19 +00:00
Davide Bettio
4f4fca109f Wallpaper renderer has now QThread::LowPriority priority on every platform except Linux.
This might fix this bug on other platforms: https://bugs.kde.org/show_bug.cgi?id=213708

svn path=/trunk/KDE/kdelibs/; revision=1101239
2010-03-09 17:51:51 +00:00
Davide Bettio
3411b5c8cd This commit adds support to multiple render threads in Plasma::Wallpaper and rendering queuing support.
This commit will fix at least one bug (but it might fix more bugs as side effect).
http://reviewboard.kde.org/r/3092/

svn path=/trunk/KDE/kdelibs/; revision=1098658
2010-03-04 01:33:19 +00:00
Beat Wolf
438abba607 fix scaling, patch by Rickard Närström.
BUG:186188

svn path=/trunk/KDE/kdelibs/; revision=1059840
2009-12-07 14:28:38 +00:00
Darío Andrés Rodríguez
59296fb520 - Fix several minor issues reported by Krazy2
(http://reviewboard.kde.org/r/1837/)


svn path=/trunk/KDE/kdelibs/; revision=1034756
2009-10-13 12:40:13 +00:00
Aaron J. Seigo
959e54961e QDebug is not marked as re-entrant or thread safe and seems to cause crashses for some when used from the wallpaper rendering threads, so let's just remove those lines :)
BUG:202538

svn path=/trunk/KDE/kdelibs/; revision=1007067
2009-08-05 04:48:33 +00:00
Aaron J. Seigo
977464bb65 don't keep threads around forever, let them finish
svn path=/trunk/KDE/kdelibs/; revision=958272
2009-04-23 16:40:18 +00:00
Aaron J. Seigo
1c62ca5b79 introduce wallpaper image rendering into libplasma so it can be shared amongst all wallpaper plugins; most of the plugins are duplicating this code which can't be good. :)
next up is to port the Image wallpaper plugin to this and make sure it all still works and then look at bringing the wallpaper listing model/view somewhere all the plugins can share it for their configuration needs

svn path=/trunk/KDE/kdelibs/; revision=948064
2009-04-02 06:31:37 +00:00
Aaron J. Seigo
de4602c113 pull over render thread in the lib so it can be shared
svn path=/trunk/KDE/kdelibs/; revision=948059
2009-04-02 05:43:20 +00:00