Commit graph

18 commits

Author SHA1 Message Date
Martin Gräßlin
39d23a7ab3 Do not activate OpenGL only effects in XRender mode.
BUG: 176617

svn path=/trunk/KDE/kdebase/workspace/; revision=892361
2008-12-04 08:47:07 +00:00
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
2008-10-02 09:27:32 +00:00
Martin Gräßlin
95c30f158f Cube/Cylinder/Sphere can be used for "walk through desktop" functionality. This new mode has to be enabled in the settings. Default is off. Mouse functionality is disabled in this tab box mode.
CCBUG: 169888

svn path=/trunk/KDE/kdebase/workspace/; revision=854275
2008-08-29 09:22:36 +00:00
Martin Gräßlin
a59111148c Cube & co becomes zoomable (usage: + and -). Adding also a config option to define the default zoom.
svn path=/trunk/KDE/kdebase/workspace/; revision=852059
2008-08-25 08:19:39 +00:00
Martin Gräßlin
c67256e037 Option for Compiz like mouse dragging in cube effects. That is cube is closed on release of mouse button. Option is disabled by default.
svn path=/trunk/KDE/kdebase/workspace/; revision=851485
2008-08-23 20:10:01 +00:00
Martin Gräßlin
bde94eae24 Own configuration dialog for cylinder and sphere effect, they do not use cube's config any longer. Nevertheless the effects use same global shortcut as cube.
svn path=/trunk/KDE/kdebase/workspace/; revision=848314
2008-08-17 11:51:27 +00:00
Martin Gräßlin
f54e0f9932 Sphere caps
svn path=/trunk/KDE/kdebase/workspace/; revision=848068
2008-08-16 19:22:45 +00:00
Martin Gräßlin
5466cbf6dc Performance improvement by using GL List for painting the cube caps. Thanks to Matthias Kretz for the hint.
svn path=/trunk/KDE/kdebase/workspace/; revision=845635
2008-08-12 07:41:19 +00:00
Martin Gräßlin
39fd589c4d Bring back optional one big cube for multi monitor setup. One big cube is used for desktop changed but not the default for ctrl+f11 mode.
BUG: 168404

svn path=/trunk/KDE/kdebase/workspace/; revision=843084
2008-08-06 12:05:30 +00:00
Martin Gräßlin
37512e7591 Add of config option if the cube should be shown when desktop is changed via pager or ctrl+f1-4.
Turned of per default.

svn path=/trunk/KDE/kdebase/workspace/; revision=842306
2008-08-05 08:10:01 +00:00
Martin Gräßlin
dfbb3c3240 New algorithm for rendering the cube caps. The caps are now made up of many small triangles. This is needed so that we can have caps on the upcoming sphere effect.
Also this way it is possible to paint textured cap in one step and not in two. So the opacity of the textured caps is now correct. The texture has got a border of one pixel in cap color so that the texture can be used to paint the whole cap and transparent areas of the texture are manually blended with the cap color.

svn path=/trunk/KDE/kdebase/workspace/; revision=842034
2008-08-04 15:22:21 +00:00
Martin Gräßlin
3edc29f190 Caps also for cylinder.
Translate cylinder so that start/stop works correctly.
Do not react on desktop change. That would be strange in cylinder effect.

svn path=/trunk/KDE/kdebase/workspace/; revision=842031
2008-08-04 15:07:34 +00:00
Martin Gräßlin
d719718780 Twin view support for cube. Cube is painted on one screen and scaled so that both screens fit on it. Projection matrix has unfortunatelly to be changed in twin view mode.
svn path=/trunk/KDE/kdebase/workspace/; revision=842026
2008-08-04 14:23:22 +00:00
Martin Gräßlin
7f8b7e78f6 Improvement to reflection: reflection does not interfer with normal cube when vertically rotated.
Rotation duration is changed in slide mode. Whole sliding does only take defined duration and not n*duration.

svn path=/trunk/KDE/kdebase/workspace/; revision=842024
2008-08-04 14:18:05 +00:00
Martin Gräßlin
1880dcf2eb 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.
svn path=/trunk/KDE/kdebase/workspace/; revision=842023
2008-08-04 14:12:58 +00:00
Martin Gräßlin
09a02ee13f various improvements:
- speedup in slide mode: don't paint desktops which are not visible
- key events are not dropped during start phase
- parts of windows from different desktops are faded in/out during start/stop animation
- manual (mouse) rotation is reverted in stop animation
- Cube Cap Texture is positioned oriented towards desktop 1
- fix artifacts from different desktops after stop animation

svn path=/trunk/KDE/kdebase/workspace/; revision=835534
2008-07-20 18:55:24 +00:00
Martin Gräßlin
fc777afc8f Now we are able to display an image on the cube caps.
svn path=/trunk/KDE/kdebase/workspace/; revision=834710
2008-07-19 13:43:13 +00:00
Martin Gräßlin
89c2ad7c4b Move Cube effect to trunk
svn path=/trunk/KDE/kdebase/workspace/; revision=832912
2008-07-15 19:21:50 +00:00