Martin Gräßlin
f232a830aa
Don't use the gl lists when a new window is added. This prevents the added window becoming black.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=941274
17 years ago
Martin Gräßlin
141f166c56
No need to use different client area options in cube for one or multi screen setups any more. FullArea suits both now.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=940985
17 years ago
Martin Gräßlin
7fc3bbf39d
Drop the multi screen mode where the cube is scaled on one screen. So there is only the span cube on all screens option. The mode is dropped for the following reasons:
...
* it looks strange
* it changes the projection matrix which makes the code ugly
* it never worked with cylinder or sphere
* it was broken in trunk anyway
svn path=/trunk/KDE/kdebase/workspace/; revision=940977
17 years ago
Martin Gräßlin
666a2224f4
Center desktop name box on active screen instead of the center of whole area. So the desktop name is always visible in multi screen setups and only shown on one screen.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=940812
17 years ago
Martin Gräßlin
c016f07738
Use bigger quads for desktops in the rear, so that less vertices have to be processed by cylinder and sphere shader. That should improve the performance without influencing the visual appearance.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=930495
17 years ago
Martin Gräßlin
752489aac5
Windows can't overlap desktop edges in cylinder or sphere mode. It results either in incorrect painting or in GL errors.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=930083
17 years ago
Martin Gräßlin
b428fb46a0
Cube keeps rotating when mouse is at left or right screen edge.
...
BUG: 182454
svn path=/trunk/KDE/kdebase/workspace/; revision=930054
17 years ago
Lucas Murray
1e91a66fd2
Added support for unstyled and frameless EffectFrames. Converted all
...
effects that display text or boxes to use the class. Minor speed
increase in XRender mode for those effects and a massive increase in
OpenGL mode (Double framerate in present windows in my case).
svn path=/trunk/KDE/kdebase/workspace/; revision=929951
17 years ago
Martin Gräßlin
a6d8bb41bb
Reactivating the use of a gl list for painting the cube. The cube is painted once without using the gl list. By that the problem of black windows on other desktops should be solved. If the black window problem appears again the patch will be reverted.
...
CCBUG: 183905
svn path=/trunk/KDE/kdebase/workspace/; revision=929840
17 years ago
Martin Gräßlin
eae6279ca9
Fill empty areas in multi screen setups in cylinder and sphere as well.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=929833
17 years ago
Lucas Murray
e03748fba7
Added EffectFrame, a helper class that creates, manages and caches a
...
Plasma frame object. There are two ways to use this class: The first is
in "static" mode which gives the frame a set geometry and will not
change, the second is an automatic mode that creates the smallest
possible frame around the specified contents. Contents can either be
normal text and/or a QPixmap, useful for displaying the caption and icon
of the currently highlighed window.
Known bugs:
- Does not detect Plasma theme changes, known to be in the Plasma
library.
- Slight graphical glitches, known to be in Qt 4.5.0 RC1.
Untested:
- What happens when there is no Plasma theme installed.
svn path=/trunk/KDE/kdebase/workspace/; revision=929324
17 years ago
Martin Gräßlin
445f021b06
Fix commit which broke shadows.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=928975
17 years ago
Martin Gräßlin
c648f03313
A new vertex shader for cylinder effect using polar coordinates. Solves some painting problems.
...
Adding a new cylinder cap as well as the new cylinder is smaller than the old one.
svn path=/trunk/KDE/kdebase/workspace/; revision=928679
17 years ago
Martin Gräßlin
bdef1d7c5b
Smoothly transform to cube and sphere during start animation and vice versa during stop animation.
...
Caps have to be deformed during start/stop as well.
svn path=/trunk/KDE/kdebase/workspace/; revision=928308
17 years ago
Martin Gräßlin
5025509e3a
Distance between 3D windows is determined by the zoom position divided by the number of windows in stacking order when cube is activated.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=928279
17 years ago
Martin Gräßlin
5e94274eb6
We cannot use glLists for painting the cube. It's causing black windows.
...
BUG: 183905
svn path=/trunk/KDE/kdebase/workspace/; revision=927767
17 years ago
Martin Gräßlin
cb28513163
New way to paint the windows overlapping screen edges. It works with the new windows hover above cube (still small painting sequence issues).
...
svn path=/trunk/KDE/kdebase/workspace/; revision=927720
17 years ago
Martin Gräßlin
ed311a899d
Add an option so that windows can hover above the cube similar to 3D Windows plugin in Compiz. Currently this disables "windows overlapping edges" feature when this option is set (no change when not set).
...
FEATURE: 184689
svn path=/trunk/KDE/kdebase/workspace/; revision=927550
17 years ago
Martin Gräßlin
4fa09b63b4
Sphere and Cylinder become part of Cube effect. That is much more convenient than having an own effect for each (only loading the shader is actually required).
...
Btw caps of cylinder and sphere are working correctly again.
svn path=/trunk/KDE/kdebase/workspace/; revision=925809
17 years ago
Lucas Murray
1db192a11d
Fixed cube from crashing due to mouse polling if it was activated and
...
deactivated too quickly.
svn path=/trunk/KDE/kdebase/workspace/; revision=922457
17 years ago
Martin Gräßlin
f7f5bc8326
Split cube mode and animation of desktop switching in separate effects: say hello to CubeSlide effect.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=922342
17 years ago
Lucas Murray
81ffa5aec9
Raise electric border windows when an effect mouse input window is
...
created to allow effects to be toggled by active screen edges.
svn path=/trunk/KDE/kdebase/workspace/; revision=922121
17 years ago
Martin Gräßlin
502fdbb751
Cylinder and Sphere effect have their own shortcut. Nevertheless it's still not possible to use cube and cylinder or sphere. That'll be fixed when the effects are merged into cube.
...
BUG: 175788
svn path=/trunk/KDE/kdebase/workspace/; revision=922033
17 years ago
Martin Gräßlin
daa32a53fb
Adding mouse wheel support to effects. First one to use is cube effect.
...
CCMAIL: marco.gulino@gmail.com
svn path=/trunk/KDE/kdebase/workspace/; revision=922031
17 years ago
Martin Gräßlin
a3c57fcab0
Option to not animate windows shown on all desktops during desktop switching animation.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=922030
17 years ago
Martin Gräßlin
7b5a71d2dd
Option to not change the opacity of windows in cube mode. That way only the cube (that is the desktops) will be painted in a transparent way.
...
FEATURE: 182195
svn path=/trunk/KDE/kdebase/workspace/; revision=922029
17 years ago
Martin Gräßlin
642ae708b5
Cube uses the pager layout to animate desktop switching (not the cube mode). This requires some more work including an option to use the old way (ignoring pager layout).
...
FEATURE: 167752
svn path=/trunk/KDE/kdebase/workspace/; revision=922028
17 years ago
Martin Gräßlin
026c90a983
Option to not animate the panels during desktop switching animation.
...
FEATURE: 177730
svn path=/trunk/KDE/kdebase/workspace/; revision=922026
17 years ago
Martin Gräßlin
59208e430a
Option to invert mouse and cursor keys in cube mode.
...
FEATURE: 178398
svn path=/trunk/KDE/kdebase/workspace/; revision=922025
17 years ago
Martin Gräßlin
b81bf26c77
Fill empty spaces in multi screen setup with cube cap color if caps are used.
...
FEATURE: 169371
svn path=/trunk/KDE/kdebase/workspace/; revision=922024
17 years ago
Martin Gräßlin
a16aba4b05
Merge in the first changes from cube git branch ( http://github.com/mgraesslin/kwin/tree/cube ):
...
* Code restructuring and clean-up
* Use of glLists to store the rotation and painting of the cube. That way things are only calculated when something changed. Painting the cube is still required in each frame as it would break all other effects.
* Use face culling to paint the cube in the correct sequence.
* Move loading of all settings to cube effect. In preparation of getting rid of cylinder and sphere classes
Known regression: cylinder and sphere caps are partly broken.
BUG: 171235
svn path=/trunk/KDE/kdebase/workspace/; revision=922023
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
9bb76644b7
Backport: Extracted mouse polling out of the composite timer to allow
...
effects to detect mouse movement and modifier key changes even when KWin
is idle. As the track mouse effect requires polling to always be active
disabling it by default to prevent wasting CPU usage in the default
install.
Although this is a feature it is required to remove a major performance
issue in 4.2 that was caused by a last-minute hack before tagging.
svn path=/branches/KDE/4.2/kdebase/workspace/; revision=920966
17 years ago
Lucas Murray
752d5fa642
Extracted mouse polling out of the composite timer to allow effects to
...
detect mouse movement and modifier key changes even when KWin is idle.
As the track mouse effect requires polling to always be active disabling
it by default to prevent wasting CPU usage in the default install.
svn path=/trunk/KDE/kdebase/workspace/; revision=919711
17 years ago
Martin Gräßlin
e8cbd42ded
Read path to cube cap image from kwinrc. This is needed for an easy branding by distros.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=905512
17 years ago
Martin Gräßlin
cda8f503ad
Finally I figured out why we see artifacts from previous desktop during the stop animation when rotating the cube with mouse.
...
BUG: 173806
svn path=/trunk/KDE/kdebase/workspace/; revision=896950
18 years ago
Martin Gräßlin
9942e6ff0d
Don't change opacity of windows during slide animation.
...
BUG: 177731
svn path=/trunk/KDE/kdebase/workspace/; revision=896703
18 years ago
Martin Gräßlin
6ff3a4134b
Don't activate cube if there are less than two desktops.
...
BUG: 177714
svn path=/trunk/KDE/kdebase/workspace/; revision=896698
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
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
18 years ago
Martin Gräßlin
6576ff1d21
Also show opaque windows when opacity is set to 100%.
...
BUG: 173214
svn path=/trunk/KDE/kdebase/workspace/; revision=890977
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
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
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
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago