Lucas Murray
5413d0ec5d
SVN_SILENT Cleaned up recent commits.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=892363
2008-12-04 09:02:21 +00:00
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
Martin Gräßlin
ba9eaebb12
Use multi screen initialisation of CoverSwitch (only for no "big cube") and the reflection with a PaintClipper. This solves some painting issues of cube and multi screen setups.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=892205
2008-12-03 19:51:41 +00:00
Martin Gräßlin
6576ff1d21
Also show opaque windows when opacity is set to 100%.
...
BUG: 173214
svn path=/trunk/KDE/kdebase/workspace/; revision=890977
2008-11-30 19:16:13 +00:00
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
2008-11-17 15:04:52 +00:00
Albert Astals Cid
882b909364
Add const & so we don't copy all that objects for nothing, faster effects for free!
...
svn path=/trunk/KDE/kdebase/workspace/; revision=869928
2008-10-11 12:38:46 +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
Luboš Luňák
2a87593638
Add a global configuration option for animation speed. See description
...
of Effect::animationTime() for how-to-use.
TODO: Effects need to reload config after doing the change in the kcm.
NOTE: Default TimeLine constructor now creates invalid object, it is
necessary to explicitly call setDuration() in order to ensure all
animations respect this setting.
CCMAIL: kwin@kde.org
svn path=/trunk/KDE/kdebase/workspace/; revision=854690
2008-08-30 07:25:54 +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
d5be0f8da5
- limit the number of left/right rotations. Cube will not rotate endless if cursor keys are being pressed
...
- fix vertical mouse movement
svn path=/trunk/KDE/kdebase/workspace/; revision=848624
2008-08-18 09:39:48 +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
0d5e84df02
Use GL_CLAMP_TO_EDGE for cap texture, so the cap is painted correctly.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=846173
2008-08-13 08:16:41 +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
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