Martin Gräßlin
a5fb312486
Do not subtract region of translucent windows from snow region, that is repaint region of next frame.
...
BUG: 191442
svn path=/trunk/KDE/kdebase/workspace/; revision=972987
17 years ago
Lucas Murray
846496d2c1
Cleaned up the effects/ directory by moving each individual effect into
...
its own directory, cleaned up the effect config macros and renamed
"MakeTransparent" to "Translucency" so that it matches its visible name.
svn path=/trunk/KDE/kdebase/workspace/; revision=921749
17 years ago
Lucas Murray
9a31e8f3d9
Backport: Allow snow flakes to completely exit the screen before
...
removing them. Also create the flakes off-screen as well.
CCBUG: 182561
svn path=/branches/KDE/4.2/kdebase/workspace/; revision=919042
17 years ago
Lucas Murray
29484aa5fb
Allow snow flakes to completely exit the screen before removing them.
...
Also create the flakes off-screen as well.
BUG: 182561
svn path=/trunk/KDE/kdebase/workspace/; revision=919039
17 years ago
Martin Gräßlin
44ad9f6ca7
Make snow behind windows the default as it is much nicer.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=893187
18 years ago
Lucas Murray
5413d0ec5d
SVN_SILENT Cleaned up recent commits.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=892363
18 years ago
Martin Gräßlin
39d23a7ab3
Do not activate OpenGL only effects in XRender mode.
...
BUG: 176617
svn path=/trunk/KDE/kdebase/workspace/; revision=892361
18 years ago
Martin Gräßlin
3150cb2631
Implement clipping of snow flakes in fragment shader. This fixes painting the flakes several times in multi screen setup as well as during active desktop grid effect. Also honour translations and scaling of the desktop and re-enabling snow during active full screen effect.
...
BUG: 176489
svn path=/trunk/KDE/kdebase/workspace/; revision=892202
18 years ago
Martin Gräßlin
b9fd1e6d10
* Update the snow flakes only once per frame. This fixes the problem of faster snow flakes if there are more then one screens.
...
* Disable snow effect if there is an active full screen effect as it causes some problems. E.g. in desktop grid the snow flakes are painted several times and by that look terrible.
CCBUG: 176489
svn path=/trunk/KDE/kdebase/workspace/; revision=890836
18 years ago
Lucas Murray
6d41a1320e
Moved all debug, warning and error messages into the KWin 1212 area.
...
Replaced deprecated kdDebug() with kDebug().
Removed empty debug messages.
svn path=/trunk/KDE/kdebase/workspace/; revision=885620
18 years ago
Martin Gräßlin
e1d4d50cd6
Some more optimizations to snow effect:
...
* move position updates of flakes to shader
* remove the for-loop which updates the flakes. This is handled in the loop for painting the flakes
* Don't test in each frame if a flake is on the screen. Precalculate the number of frames when then flake is on the screen and count the flakes.
* Set PAINT_SCREEN_TRANSFORMED
* Remove all unneeded code (like a QTime object when we already get the time in the method)
Now it takes ~ 17 % of CPU usage on my system. Seems to be the maximum of what is possible.
svn path=/trunk/KDE/kdebase/workspace/; revision=884305
18 years ago
Martin Gräßlin
8ecaefebcc
Adding optional shader to snow effect. Shader is used when hardware support is available.
...
Using shader reduces CPU load from approximately 50 % to less than 20 % on my system.
svn path=/trunk/KDE/kdebase/workspace/; revision=883348
18 years ago
Martin Gräßlin
9f96d84a12
Option to snow behind windows and small performance improvement by using a glList
...
svn path=/trunk/KDE/kdebase/workspace/; revision=882720
18 years ago
Enrique Matías Sánchez
f5efd9ca28
SVN_SILENT Fix typos in kdebase
...
svn path=/trunk/KDE/kdebase/workspace/; revision=875089
18 years ago
Lucas Murray
4982bb9909
Added improvements to the snow effect. Patch by Torgny Johansson.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=870683
18 years ago
Luboš Luňák
1d2c54edcc
Support for proper effect reconfiguration instead of reloading them.
...
Fixes e.g. the global animation combo not taking effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=866903
18 years ago
Luboš Luňák
cff2b0e6cd
Abstract paint clipping into PaintClipper helper class that allows
...
stacking of clipping regions.
(http://lists.kde.org/?l=kwin&m=120138051215450&w=2 )
BUG: 156798
svn path=/trunk/KDE/kdebase/workspace/; revision=779045
18 years ago
Luboš Luňák
a6fbe3d13e
Snow effect from Martin Graesslin <ubuntu@martin-graesslin.com>.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=758626
18 years ago