kwin/effects/data
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
2008-11-14 16:18:34 +00:00
..
blur-render.frag
blur-render.vert
blur.frag
blur.vert
circle-edgy.png
circle.png
cubecap.png optimizegraphics: Losslessly optimized PNG and SVGZ files with "optipng -o5" and "advdef -z -4". 2008-10-26 14:11:34 +00:00
cylinder.frag Fix cylinder and sphere fragment shader. Opacities are already pre-multiplied. 2008-10-04 06:20:22 +00:00
cylinder.vert Adapt cube and cylinder effect to new API. It is not required any longer to define an own projection matrix and RotationData is used to rotate the desktops. 2008-08-04 14:12:58 +00:00
explosion-end.png
explosion-start.png
explosion.frag
explosion.vert
invert.frag Added feature to only invert the colours of selected windows 2008-08-27 12:20:34 +00:00
invert.vert Added feature to only invert the colours of selected windows 2008-08-27 12:20:34 +00:00
lookingglass.frag
lookingglass.vert
shadow-texture.png Losslessly optimized PNG and SVGZ files with "optipng -o5" and "advdef -z -4". 2008-06-12 21:07:49 +00:00
sharpen.frag
sharpen.vert
snow.frag Adding optional shader to snow effect. Shader is used when hardware support is available. 2008-11-12 18:38:36 +00:00
snow.vert Some more optimizations to snow effect: 2008-11-14 16:18:34 +00:00
snowflake.png Losslessly optimized PNG and SVGZ files with "optipng -o5" and "advdef -z -4". 2008-06-12 21:07:49 +00:00
sphere.vert Initial import of new sphere effect. This effect uses a shader to transform the cube into a sphere. Caps are not yet working and are disabled. Fragment shader is shared with cylinder effect. 2008-08-07 12:54:16 +00:00
trackmouse.png