* 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
Reduced disk space: 3384KB (3MB)
svn path=/trunk/KDE/kdebase/workspace/; revision=876104
The following changes were in SVN, but were removed from git:
M wallpapers/Blue_Curl/contents/screenshot.png
M wallpapers/Flower_drops/contents/screenshot.png
M wallpapers/Vector_Sunset/contents/screenshot.png
Last optimization has been done almost two years ago. There a lot of new files in trunk (e.g all Oxygen stuff).
It's not the correct time to do that again (before the release).
This run saves again around 10MB of diskspace without any restrictions.
svn path=/trunk/KDE/kdebase/workspace/; revision=755647
The following changes were in SVN, but were removed from git:
M wallpapers/plasma-default.png
This fixes the artefacts appearing when only part of the screen is updated.
This version also brings ton of optimizations which might well increase performance
2 or 3 times on slower cards:
- Windows are not drawn twice anymore. Now they're drawn only to render target and
later changed parts of the render target are copied back onto screen.
- Shaders have been optimized. Some calculations moved from pixel shader to vertex shader.
- For ARGB windows, if window's opacity is 0 then it will stay transparent instead of being
replaced by blurred background.
- Blur effect should now play nicer with other effects, e.g. shadows.
svn path=/trunk/KDE/kdebase/workspace/; revision=748502
and thus looks better.
Also change default shadow settings to look better with the new texture.
svn path=/trunk/KDE/kdebase/workspace/; revision=732038
The default texture gives you nice rounded corners, but it can be changed to do something more fancy ;-)
- Fix a shadow transformation/rendering problem
svn path=/trunk/KDE/kdebase/workspace/; revision=683210
Blur effects blurs out background of translucent windows, thus improving e.g. readability of text in
such windows.
I'll send a mail with couple of screenshots and more details to kwin list soon.
svn path=/branches/work/kwin_composite/; revision=658817
presses left and right mouse button. There needs to be
found a better way of activating this though :-/.
svn path=/branches/work/kwin_composite/; revision=654750
Add ExplosionEffect which makes the windows blow up into small pieces when they're closed.
In the future this could be used only when user kills (an unresponsive) window.
svn path=/branches/work/kwin_composite/; revision=643135