Commit Graph

50 Commits (911098ee76a06d06540293bf6550be20633408c7)

Author SHA1 Message Date
Thomas Lübking 51ee04837f whitespace: da3a0ad39be3cd5529b3d8b259065cd26e631a0b
the other whitespace...
2011-02-06 16:39:41 +01:00
Thomas Lübking a3328bd449 export WindowGeometry config symbols
BUG: 265272
2011-02-06 16:36:16 +01:00
Martin Gräßlin 54c0a913b9 Fixing broken Invert effect build.
Forgot to remove the header file for shadereffect, though
it was not used anymore in the effect.
CCMAIL: hein@kde.org
2011-02-01 20:13:26 +01:00
Eike Hein 39f57a472f Disable the invert effect to unbreak the workspace build.
invert.cpp refers to the apparently removed kwinshadereffect.h,
so it's probably missing out on some sort of porting activity.

CCMAIL:kde@martin-graesslin.com
2011-02-01 19:52:03 +01:00
Martin Gräßlin 0a7e48f7aa KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
Martin Gräßlin cf03487331 Remove Shadow Effect.
The shadow effect is known to be broken since at least 4.5.
It is unfortunately in a state which makes it difficult to maintain
and the architecture has some serious drawbacks. Therefore it is the
best solution to replace the effect with a new and better
implementation. For more information about the new implementation
please see the discussion on KWin mailinglist:
http://lists.kde.org/?l=kwin&m=129607406517609&w=2

This also "fixes" all existing bug reports about the shadow effect.
Most of the bugs will really be fixed when the new shadow system is
implemented, if not it is a new bug and a new report should be created
for it.

Please excuse that we go this unnormal approach to mark bugs as
fixed with code removal.
BUG: 164084
BUG: 160948
BUG: 189241
BUG: 229164
BUG: 258663
BUG: 216709
BUG: 243890
FIXED-IN: 4.7.0
2011-01-30 14:26:58 +01:00
Martin Gräßlin 65e6a1b03b Removing Snow Effect.
The usefulness of the snow effect is doubtable and it is rather
difficult to port the effect to the new rendering architecture
introduced with GLES. It is probably easier to rewrite the complete
effect from scratch, therefore it is removed for now.

I might consider readding it for 4.7.

This kind of "fixes" snow related bug reports.
BUG: 259362
BUG: 254498
FIXED-IN: 4.7.0
2011-01-30 14:24:48 +01:00
Martin Gräßlin debb747797 Removing the Sharpen Effect.
The effect has been known to cause some problems for quite some time
and is not really useful. Therfore dropping the effect.
See discussion on kwin mailinglist:
http://lists.kde.org/?l=kwin&m=129597766829618&w=2
2011-01-30 14:20:05 +01:00
Martin Gräßlin 8c4fc28e1a Blur ported to GLES.
It now uses a GLShader for GLSL shaders and pushes it using the
ShaderManager.

It does not work with the nouveau driver plus GLES, but it works
with fglrx + desktop GL 2.x, so I assume it is a driver problem here.
2011-01-30 14:12:06 +01:00
Martin Gräßlin b7ee35bba1 Invert effect ported to GLES.
It uses a generic vertex shader and because of that it needs to
mark all windows which are inverted as transformed.
There is currently a conflict with Lanczos (or thumbnails) and with
the desktop in cube effect.
2011-01-30 14:12:05 +01:00
Martin Gräßlin 863726a085 LookingGlass ported to GLES.
LookingGlass does not inherit ShaderEffect any more and uses just a
fragment shader. It still renders to a FBO, this could probably be
improved.
2011-01-30 14:12:05 +01:00
Martin Gräßlin 75e926a6d7 Here comes the ported Magnifier 2011-01-30 14:12:05 +01:00
Martin Gräßlin 22d7c6c5f1 ShowFPS effect ported to GLES 2011-01-30 14:12:04 +01:00
Martin Gräßlin 7adc29efd7 Remove warnings when building with GLES 2011-01-30 14:12:03 +01:00
Martin Gräßlin ec1ec18260 Bring back some configuration interfaces 2011-01-30 14:12:02 +01:00
Martin Gräßlin 82b8faadab Welcome back Cube effect
Currently working:
* cube slide
* basic cube
* rotations
* reflections

Not working:
* Cube Inside effects
* Reflection plane (needs to be done in a shader)
* cube caps
* sphere/cylinder
* filled in areas in multi desktop
2011-01-30 14:12:01 +01:00
Martin Gräßlin ae81f23fbc Building effects on ES.
Only effects using OpenGL are excluded
2011-01-30 14:11:57 +01:00
Martin Gräßlin 24a0e94397 Config interface for resize effect
Better late than never...

svn path=/trunk/KDE/kdebase/workspace/; revision=1195693
2010-11-11 19:40:13 +00:00
Andreas Demmer 2bedb6bba9 initial commit of the KWin dashboard effect
svn path=/trunk/KDE/kdebase/workspace/; revision=1153704
2010-07-23 19:52:20 +00:00
Martin Gräßlin b8637bf4fb New Glide effect for opening/closing windows by Iori Yagami.
Thanks a lot for providing a great effect.

svn path=/trunk/KDE/kdebase/workspace/; revision=1125565
2010-05-11 18:45:39 +00:00
Fredrik Höglund 087f1a6fef Make the strength of the blur effect configurable.
svn path=/trunk/KDE/kdebase/workspace/; revision=1102771
2010-03-13 15:03:29 +00:00
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
2009-02-14 09:29:01 +00:00
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
2009-02-06 18:53:16 +00:00
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
2009-02-05 15:35:38 +00:00
Martin Gräßlin 07d5e9cf57 Add config dialog for MagicLamp effect. Currently only one option to change the animation duration is available.
FEATURE: 177961

svn path=/trunk/KDE/kdebase/workspace/; revision=910997
2009-01-14 15:31:08 +00:00
Lucas Murray 1e4b9efdd4 Added background window opacity setting to box switch.
BUG: 165300

svn path=/trunk/KDE/kdebase/workspace/; revision=857409
2008-09-05 10:48:18 +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 d5ea3cfba4 Activate build of cube and cylinder
svn path=/trunk/KDE/kdebase/workspace/; revision=832916
2008-07-15 19:31:23 +00:00
Luboš Luňák 4fc3d50790 Properly #ifdef OpenGL-only and XRender-only stuff.
svn path=/trunk/KDE/kdebase/workspace/; revision=817585
2008-06-06 11:07:15 +00:00
Cédric Borgese 0b6bb6a95f Implement a wobbly like effect for kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=798476
2008-04-18 12:01:47 +00:00
Adriaan de Groot bd5fd7bb84 showfps requires both GL and RENDER compositing, and is disabled in CMakeLists unless you have both; reflect this in the rest of the code as well.
svn path=/trunk/KDE/kdebase/workspace/; revision=790175
2008-03-26 00:55:39 +00:00
Adriaan de Groot b41208b4cc Consistency between the CMakeLists.txt which add showfps only if OpenGL and Xrender are there and the source
svn path=/trunk/KDE/kdebase/workspace/; revision=780246
2008-02-28 13:46:41 +00:00
Martin Gräßlin dd1b16a432 Alternative Alt+Tab window switcher similar to Compiz Fusion's cover switch of shift switcher effect
svn path=/trunk/KDE/kdebase/workspace/; revision=777745
2008-02-21 13:20:22 +00:00
Luboš Luňák a6e8d860a1 Make the ShowFps effect show the FPS as a number.
Patch by  Carlo Segato <brandon.ml@gmail.com>.
FEATURE: 155638


svn path=/trunk/KDE/kdebase/workspace/; revision=771282
2008-02-05 17:20:08 +00:00
Martin Gräßlin e4834f296b Alternative Alt+Tab window switcher which displays all windows on a 3D stack and flips through the stack
svn path=/trunk/KDE/kdebase/workspace/; revision=765574
2008-01-24 10:36:32 +00:00
Luboš Luňák a6fbe3d13e Snow effect from Martin Graesslin <ubuntu@martin-graesslin.com>.
svn path=/trunk/KDE/kdebase/workspace/; revision=758626
2008-01-08 15:47:31 +00:00
Luboš Luňák bb433ac40e No longer include config*.h files in installed headers.
Also slightly redo the #define's for effects, now it's:
- #ifdef KWIN_HAVE_COMPOSITING to check whether there's any compositing support at all
- #ifdef KWIN_HAVE_OPENGL_COMPOSITING to check for OpenGL-based compositing
- #ifdef KWIN_HAVE_XRENDER_COMPOSITING the same for XRender
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=749628
2007-12-17 14:14:53 +00:00
Luboš Luňák 01bf6cbb4c License cleanup - add headers where missing, be explicit about GPL
being v2+ (right now it says just GPL, which according to GPL itself
means any GPL). Decoration clients will come later.
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=742302
2007-11-27 19:40:25 +00:00
Dirk Mueller e37fe7d2fb embedding #ifdef's within macros is not portable
svn path=/trunk/KDE/kdebase/workspace/; revision=740309
2007-11-22 23:28:34 +00:00
Rivo Laks 797bece861 Add config dialog for trackmouse.
It doesn't let you configure anything yet, just shows which keys activate the
  effect. But hopefully one day it will be configurable as well.

svn path=/trunk/KDE/kdebase/workspace/; revision=736297
2007-11-13 21:50:00 +00:00
Rivo Laks a10061ed6f Add config dialog for sharpen
svn path=/trunk/KDE/kdebase/workspace/; revision=736229
2007-11-13 18:21:49 +00:00
Rivo Laks f8ec94079b Add config dialog for invert
svn path=/trunk/KDE/kdebase/workspace/; revision=736226
2007-11-13 18:14:56 +00:00
Luboš Luňák 2a88854a01 #ifdef HAVE_OPENGL
svn path=/trunk/KDE/kdebase/workspace/; revision=736203
2007-11-13 17:37:53 +00:00
Luboš Luňák ce20cf0625 More configuration options for effects. Most of the code
by Christian Nitschkowski <segfault_ii@web.de>.


svn path=/trunk/KDE/kdebase/workspace/; revision=736161
2007-11-13 16:20:52 +00:00
Rivo Laks 0adf0a1b49 Add zoom config dialog (just keyboard shortcuts)
svn path=/trunk/KDE/kdebase/workspace/; revision=735761
2007-11-12 15:11:00 +00:00
Rivo Laks bbb6d2d96a - Add config module for MakeTransparent effect.
Defaults are 70% translucency for window decorations and 80% for moving windows.
- Set it's user-visible name to Translucency

svn path=/trunk/KDE/kdebase/workspace/; revision=728122
2007-10-22 13:34:26 +00:00
Laurent Montel d59f95c2d0 Fix compile enable final
svn path=/trunk/KDE/kdebase/workspace/; revision=720825
2007-10-03 20:18:56 +00:00
Rivo Laks bb6a65b424 Add config module for DesktopGrid.
You can configure slide animation and activations shortcut

svn path=/trunk/KDE/kdebase/workspace/; revision=716951
2007-09-25 17:52:19 +00:00
Rivo Laks 7ad70d9c83 Fix compilation
svn path=/trunk/KDE/kdebase/workspace/; revision=714831
2007-09-20 18:06:36 +00:00
Bernhard Loos 4ff6a33526 fix the effect kcm for kwin
(port it to KPluginFactory)

svn path=/trunk/KDE/kdebase/workspace/; revision=714825
2007-09-20 17:48:27 +00:00