Commit graph

261 commits

Author SHA1 Message Date
Martin Gräßlin
06895db1a9 New Glow on approaching Screen Edge Effect
Feature stolen from hidden Plasma Panel now available for all edges on
approach by mouse.
2013-02-07 09:48:09 +01:00
Martin Gräßlin
c5bebcd809 Port Magnifier Effect to XCB
First XRender effect which gets ported over. Therefore required bits are
added to CMakeLists.txt.

Port to xcb is luckily rather straight forward. Though the QPixmap usage
needs to be replaced by xcb_pixmap_t together with a XRenderPicture.
2013-02-04 08:33:24 +01:00
Martin Gräßlin
12bea5f682 New Maximize Window Effect
Animation for going from restored to maximized and vice versa.

BUG: 308990
FIXED-IN: 4.10
REVIEW: 107050
2012-10-28 09:51:01 +01:00
Filip Wieladek
378a4f8fe4 Mouse Click animation effect
An effect which visualy animates when a mouse button is pressed or
released.

REVIEW: 105780
BUG: 309006
FIXED-IN: 4.10
2012-10-26 09:47:22 +02:00
Martin Gräßlin
cf5de22586 Introduce a build option KWIN_BUILD_OPENGL_1_COMPOSITING
If the build option is enabled KWIN_HAVE_OPENGL_1 is passed as a compile
flag when build against OpenGL.

This compile flag is meant to replace the KWIN_HAVE_OPENGLES. So far code
has been ifdefed for special behavior of OpenGL ES 2.0 and to remove
fixed functionality calls which are not available in OpenGL ES 2.0.

With this build flag the fixed functionality calls which are only used in
the OpenGL1 Compositor can be removed and keeping the KWIN_HAVE_OPENGLES
for the real differences between OpenGL 2.x and OpenGL ES 2.0.

E.g. a call like glColor4f should be in an
glColor4f(1.0, 1.0, 1.0, 1.0);

while a call like glPolygonMode should be in an
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);

Building for OpenGL ES 2.0 of course implies that KWIN_HAVE_OPENGL_1 is
not defined.
2012-10-25 11:34:12 +02:00
Martin Gräßlin
b2922f6675 Remove compile flag KWIN_HAVE_OPENGL
KWIN_HAVE_OPENGL is not used anymore inside KWin, so no need to pass it
as a compile flag to the binaries.
2012-10-25 11:34:12 +02:00
Martin Gräßlin
3125333f76 Fix logout effect including port to OpenGL 2
The logout effect was rather broken. First of all it was
excluded from build if OpenGL ES is present at build time. The
reason for this is that the effect did not work with GLES.

In order to fix that the vignetting is ported over to OpenGL 2
by using a dedicated shader. As well the lod based blur is
added through a dedicated shader and uses framebuffer blit to
get the current rendered buffer before rendering the logout
window into a texture.

Last but not least the isActive method was broken and is fixed
by checking whether the logout window is around.

BUG: 303096
FIXED-IN: 4.9.0
REVIEW: 105459
2012-07-09 21:02:57 +02:00
Martin Gräßlin
f3443a6b07 Add CMake variable to rename kwin binaries
A CMake variable is used to specify the name of the binary.
By default this is "kwin" but building for PA changes the
name to "kwinactive". The variable adjusts all names, e.g.
kwinnvidiahack becomes kwinactivenvidiahack.

The remaining usage of kwinrc in core and libs is replaced
by a cmakedefine for the configuration name and all data
installations are moved to the defined name. Dynamic loading
for scripts & co is adjusted for loading based on defined name.

This change allows the side-by-side installation of both kwin
for desktop and kwin for Plasma Desktop without the known
issues like conflicts in config files or missing build options
if kwin desktop is used for Plasma Active.

Likewise the KCMs are not adjusted as they are not intended to
be used for kwinactive.

REVIEW: 104299
BUG: 296084
FIXED-IN: 4.9.0
CCMAIL: active@kde.org
2012-05-10 10:25:15 +02:00
Michael Palimaka
c04fca92f9 Fix KWin build failure when OpenGL is disabled and OpenGLES is enabled.
Some old restructuring caused -DKWIN_HAVE_OPENGLES to no longer be
passed to the compiler, causing OpenGL-specific code to be built
while the libraries to link it were not available.

REVIEW: 104558
2012-04-15 05:12:41 +10:00
Martin Gräßlin
ab0daa1701 FadeDesktop effect ported to JavaScript 2012-03-12 21:37:42 +01:00
Martin Gräßlin
f8c0616574 Fade effect goes JavaScript
Our first effect written in JavaScript to replace an existing C++
effect. Fade effect has been chosen as it has shown to be problematic
in the past and would have needed a migration to AnimationEffect anyway.
2012-03-12 21:37:42 +01:00
Martin Gräßlin
1ed900552b Remove test effects
Most effects would not compile anymopre as they are not adjusted
to changes in the effect system (e.g. change to slots).

Also we have enough proper effects to no longer need some demo or
howto effects.

REVIEW: 103744
2012-01-27 08:20:01 +01:00
Philipp Knechtges
0740a01c6a kwin: fix kcm_kwin4_effect_builtins build
Add the missing definition of KWIN_HAVE_OPENGL, which has been a part of kwinconfig.h before.
2011-09-04 18:36:04 +02:00
Martin Gräßlin
b5279af212 Bring back the magnifier effect
Effect uses framebuffer blit to copy the zoomed are in a scaled
way into an offscreen texture and render the texture after the
rendering. This means instead of two rendering passes we now need
only one pass, but require the blit extension.
2011-08-20 10:58:43 +02:00
Martin Gräßlin
623db51c9b Remove unused files 2011-08-13 18:34:24 +02:00
Martin Gräßlin
987bc837d9 Remove define KWIN_HAVE_OPENGL_COMPOSITING
Due to changes in build system we have always either OpenGL or OpenGL ES.
This allows to remove the KWIN_HAVE_OPENGL_COMPOSITING define. In the
effects the define is kept as KWIN_HAVE_OPENGL which can be used in
future to build also an XRender only effect system.
2011-08-13 16:46:43 +02:00
Martin Gräßlin
df75644817 Fix compilation with OpenGL ES and without OpenGL
If we have OpenGL ES but not OpenGL the KWIN_HAVE_OPENGL is set
causing the first compile pass to fail as it tries to build
against OpenGL. As a solution the first pass links against
OpenGL ES if OpenGL is not found.

This means both kwin and kwin_gles are built against GLES.
2011-08-03 16:39:36 +02:00
Martin Gräßlin
1f89dcf25d All effects need to link X11
The Plasma Active build of kwin was broken because of that.
We really should get the effects X free...
2011-08-02 19:44:35 +02:00
Martin Gräßlin
68bba98e5f Remove duplicated xfixes include 2011-07-27 18:34:32 +02:00
Martin Gräßlin
997634c813 Remove a not working include directory
The kwin/lib directory does not exist for one
release cycle now.
2011-07-27 18:34:32 +02:00
Martin Gräßlin
92d32de087 Effects do not need kephal 2011-07-27 18:34:32 +02:00
Martin Gräßlin
808c29109a Build effects twice - once with GL, once with GLES 2011-07-27 18:34:31 +02:00
Martin Gräßlin
e6b5a428ea Disable build of MagnifierEffect
Magnifier is broken without PaintClipper.
Needs a better implementation, see:
http://lists.kde.org/?l=kwin&m=130972453005390&w=2
2011-07-05 20:22:44 +02:00
Martin Gräßlin
55bcd2ed10 Add new build option KWIN_MOBILE_EFFECTS
The new build option restricts the building of effects to those
useable for Plasma Active:
* blur
* dialogparent
* fade
* login
* outline
* presentwindows
* slidingpopups
* taskbarthumbnails
* screenshot

Additionally all effect KCMs are excluded from building in the
assumption that when building with this option, KWIN_BUILD_KCMS
is turned off.
CCMAIL: sebas@kde.org
2011-05-10 18:28:53 +02:00
Martin Gräßlin
915d28d797 Outline effect to replace rendering of the outline
It just uses the selection of the EffectFrame for the outline.
FEATURE: 247316
FIXED-IN: 4.7.0
2011-04-28 13:49:23 +02: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
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
0f7ebac00e Explosion portet to GLES.
I'm not completely sure if this is how the effect should look like.
But I cannot verify, it fails on fglrx and cannot find a video on Youtube.
2011-01-30 14:12:05 +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
5d74f9ece7 StartupFeedback ported to GLES. 2011-01-30 14:12:05 +01:00
Martin Gräßlin
c5c318a342 Screenshot Effect ported to GLES 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
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
33dff065fc MouseMark ported to GLES 2011-01-30 14:12:01 +01:00
Martin Gräßlin
18814c66a3 Coverswitch works on GLES.
No multi-screen, no reflections yet
2011-01-30 14:12:01 +01:00
Martin Gräßlin
5dfa8becb5 FlipSwitch ported to GLES.
Multi-screen mode not yet included
2011-01-30 14:12:01 +01:00
Martin Gräßlin
1911a81cd7 Trackmouse ported to GLES 2011-01-30 14:11:59 +01:00
Martin Gräßlin
91f7a70e4f Snaphelper ported to GLES 2011-01-30 14:11:59 +01:00
Martin Gräßlin
db4c81993a Zoom effect ported to GLES 2011-01-30 14:11:59 +01:00
Martin Gräßlin
5c22ffb5f2 Resize effect ported to GLES 2011-01-30 14:11:59 +01:00
Martin Gräßlin
0011a30f5c ShowPaint effect ported to GLES 2011-01-30 14:11:59 +01:00
Martin Gräßlin
dec532245b Add some OpenGL effects not depending on GL 2011-01-30 14:11:59 +01:00
Martin Gräßlin
d31c00ed0e Better CMake detection for building ES or desktop 2011-01-30 14:11:58 +01:00
Martin Gräßlin
ae81f23fbc Building effects on ES.
Only effects using OpenGL are excluded
2011-01-30 14:11:57 +01:00
Thomas Lübking
68fbd31ad8 add windowgeometry tip effect, bind it to the general setting and generalize effect feature provide api, thus update resize effect
BUG: 219755

svn path=/trunk/KDE/kdebase/workspace/; revision=1195300
2010-11-10 19:21:56 +00:00
Martin Gräßlin
42abed4d34 New StartupFeedback effect
This is an OpenGL effect to replace the startup notification used
by KRunner. It provides the same functionality without the need
to move and shape windows and supports translucent icons.
The effect registers a manager selection which is honoured by KRunner
to not start the startup notification if the effect has registerd
the selection.
See Review Request http://reviewboard.kde.org/r/5529/

svn path=/trunk/KDE/kdebase/workspace/; revision=1186408
2010-10-16 08:50:38 +00:00
Martin Gräßlin
379e1a268b Screenshot effect provides hooks for KSnapshot.
This adds a DBus slot to capture a window and the pixmap handle
is passed back via a DBus signal.
Previous code using a shortcut and saving to filesystem is dropped
completely in favor for ksnapshot.
See http://reviewboard.kde.org/r/4814/

svn path=/trunk/KDE/kdebase/workspace/; revision=1175353
2010-09-14 19:52:44 +00:00
Sebastian Sauer
442b7b02b7 Focus tracking for the KWin zoom plugin
http://reviewboard.kde.org/r/4803/


svn path=/trunk/KDE/kdebase/workspace/; revision=1162103
2010-08-11 11:55:26 +00:00
Martin Gräßlin
49fea7de58 New screenshot effect.
Saves an image of the active window into the home directory when triggered.
It uses an OpenGL FBO and by that can include the alpha channel and the decoration shadows.

svn path=/trunk/KDE/kdebase/workspace/; revision=1157682
2010-07-31 20:55:48 +00:00
Andreas Demmer
df8b8beaf4 removed Plasma dependency from dashboard effect configuration
svn path=/trunk/KDE/kdebase/workspace/; revision=1154004
2010-07-24 14:03:11 +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
Martin Gräßlin
8f82499f21 Add a plasma based widget to add and remove desktops in desktop grid.
svn path=/trunk/KDE/kdebase/workspace/; revision=1108240
2010-03-28 09:05:36 +00:00
Fredrik Höglund
7909306142 Re-enable the blur effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=1099620
2010-03-05 20:44:26 +00:00
Luboš Luňák
b602adb21c fix enable final compile
svn path=/trunk/KDE/kdebase/workspace/; revision=1065512
2009-12-23 13:52:33 +00:00
Marco Martin
99e23ca6f7 a new effect: windows with the atom _KDE_SLIDE set on them (composed by
a number identifying north/south/west/east and a screen coord) will
appear with a slide animation.
used for popups that come out of panels

svn path=/trunk/KDE/kdebase/workspace/; revision=1001604
2009-07-23 19:06:50 +00:00
Martin Gräßlin
bac5a27869 Resize effect: paints a rubber band on top of the window while resizing illustrating the geometry to change.
It requires some more adjustments so that the rubber band is also shown when window content is not shown during resize.

svn path=/trunk/KDE/kdebase/workspace/; revision=987091
2009-06-25 14:41:45 +00:00
Lucas Murray
a500f0b97c Remove the blur effect from the 4.3 release due to screen corruption.
svn path=/trunk/KDE/kdebase/workspace/; revision=978778
2009-06-08 07:26:34 +00:00
Michael Zanetti
d6a5f717f2 Add new SlideBack effect
svn path=/trunk/KDE/kdebase/workspace/; revision=954446
2009-04-15 19:31:20 +00:00
Martin Gräßlin
5fe0ef985d Add new "sheet" effect based on fade. This effect animates appearing and disappearing of modal dialogs. Inspired by a Compiz Fusion effect (http://smspillaz.wordpress.com/2008/12/23/they-say-when-you-start-something/) and seems to be a Mac OS X animation as well.
FEATURE: 178945

svn path=/trunk/KDE/kdebase/workspace/; revision=927566
2009-02-17 21:13:00 +00:00
Lucas Murray
d072b5d1b7 Added new effect: Snap Helper. This effect is useful for those
perfectionist people that want to move a window to the exact center of
the screen but can never get close enough to it for the automatic
snapping to trigger. OpenGL-only for now, gave up on XRender, if anyone
can get it to work go for it.

svn path=/trunk/KDE/kdebase/workspace/; revision=926393
2009-02-15 10:34:31 +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
Lucas Murray
d6a31bc921 Introducing the highlight window effect. When activated by the X atom
all windows are faded out except the one that is being highlighted.
It is nowhere near complete but committing it now so that the Plasma
developers can start playing around with it.

svn path=/trunk/KDE/kdebase/workspace/; revision=919159
2009-01-31 15:12:14 +00:00
Luboš Luňák
1292a73314 Move the videorect effect out, as it reportedly doesn't work very well
and keeps confusing people. Go with 'recordmydesktop --full-shots' or
something until this is fixed.


svn path=/trunk/KDE/kdebase/workspace/; revision=918699
2009-01-30 14:43:43 +00:00
Lucas Murray
117c719c7d Merge branch 'fadeeffect'
Conflicts:
	kcmkwin/kwincompositing/main.cpp

svn path=/trunk/KDE/kdebase/workspace/; revision=911326
2009-01-15 09:55:15 +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
Nicolas Lécureuil
c2a94f3492 Fix libcaptury URL
svn path=/trunk/KDE/kdebase/workspace/; revision=898723
2008-12-18 20:55:51 +00:00
Lucas Murray
8e6d18f7b3 Revert "Ported grid branch to a desktop effect."
I accidently committed the wrong Git branch to trunk. =\

svn path=/trunk/KDE/kdebase/workspace/; revision=897889
2008-12-17 03:14:33 +00:00
Lucas Murray
07653a50a7 Ported grid branch to a desktop effect.
Added resize functions to effect API.

svn path=/trunk/KDE/kdebase/workspace/; revision=897887
2008-12-17 03:10:41 +00:00
Guillaume Pothier
f780e8b68b Kephalized plasma and kwin: replaced usage of QDesktopWidget by Kephal
svn path=/trunk/KDE/kdebase/workspace/; revision=884482
2008-11-15 03:04:44 +00:00
Martin Gräßlin
8ecaefebcc Adding optional shader to snow effect. Shader is used when hardware support is available.
Using shader reduces CPU load from approximately 50 % to less than 20 % on my system.

svn path=/trunk/KDE/kdebase/workspace/; revision=883348
2008-11-12 18:38:36 +00:00
Lucas Murray
75036cf270 Converted shadow config dialog to .ui
Added dummy options to get them in before string freeze.

svn path=/trunk/KDE/kdebase/workspace/; revision=880730
2008-11-06 10:48:13 +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
Lucas Murray
255889ca65 FEATURE: Two new layout modes for the present windows effect
BUG: Keyboard operation now works correctly in present windows on multi-monitor setups

svn path=/trunk/KDE/kdebase/workspace/; revision=852066
2008-08-25 09:17:15 +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
Lucas Murray
fe4c100195 Improved the desktop grid effect.
FEATURE: 163104, 167265, 168557
CCBUG: 156247, 157196, 158787

svn path=/trunk/KDE/kdebase/workspace/; revision=845893
2008-08-12 15:22:06 +00:00
Martin Gräßlin
6ba3e9fac4 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.
svn path=/trunk/KDE/kdebase/workspace/; revision=843611
2008-08-07 12:54:16 +00:00
Martin Gräßlin
75feea46af New Magic Lamp minimize effect.
FEATURE: 167387

svn path=/trunk/KDE/kdebase/workspace/; revision=841030
2008-08-02 13:17:21 +00:00
Sebastian Kügler
23a065d98a Re-enable taskbar thumbnails. Thought I had done that
right after the freeze on trunk already.
Apparently I was wrong ...

So Plasma has its support for thumbnails back, this commit
gives you back your previews in those thumbnails.

svn path=/trunk/KDE/kdebase/workspace/; revision=840301
2008-07-31 20:53:03 +00:00
Josef Spillner
d452e8541e - captury site has moved, rm-rf.in isn't reachable anymore
svn path=/trunk/KDE/kdebase/workspace/; revision=839326
2008-07-29 20:06:20 +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
Sebastian Kügler
ee454a48bd Re-enable taskbarthumbnails. Alexis is working on getting it back.
CCMAIL:kwin@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=832980
2008-07-15 22:05:01 +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
Dirk Mueller
d46ff1342f fix link lines
svn path=/trunk/KDE/kdebase/workspace/; revision=829218
2008-07-07 20:56:56 +00:00
Sebastian Kügler
8556f99b8a Disable taskbarthumbnails until Plasma uses this feature again.
No point in having this effect offered when it doesn't work.

svn path=/trunk/KDE/kdebase/workspace/; revision=827265
2008-07-02 13:32:09 +00:00
Allen Winter
7e87bc0070 a better logging message for Captury package discovery.
svn path=/trunk/KDE/kdebase/workspace/; revision=821010
2008-06-16 02:26:34 +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
Luboš Luňák
6f981e99ad ShowFPS and ShowPaint need OpenGL OR XRender.
svn path=/trunk/KDE/kdebase/workspace/; revision=811400
2008-05-22 21:31:59 +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
Magnus Romnes
d492155fb7 * Added support for opacity in menus.
* Moved configuration dialog to .ui file.


svn path=/trunk/KDE/kdebase/workspace/; revision=794038
2008-04-06 10:19:26 +00:00
Jeff Mitchell
1875aa63a7 Revert accidental inclusion in earlier commit
svn path=/trunk/KDE/kdebase/workspace/; revision=786919
2008-03-18 08:19:37 +00:00
Jeff Mitchell
e4cddb4139 Begin the breaking up of solidshell into specialized components so that it can be portable. Right now solid-hardware is not built; if you want the functionality of
solidshell, use solid-[powermanagement,bluetooth,network] as they currently are exactly what solidshell used to be.


svn path=/trunk/KDE/kdebase/workspace/; revision=786917
2008-03-18 08:16:36 +00:00
Martin Gräßlin
5e44946ee7 Dim the screen if kdesu or kdesudo ask for the password for adminstrator mode
svn path=/trunk/KDE/kdebase/workspace/; revision=782196
2008-03-04 14:48:13 +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
Laurent Montel
88bf12376d Allow to define where store video.
Ok'ed by Lubos

svn path=/trunk/KDE/kdebase/workspace/; revision=770697
2008-02-04 12:06:13 +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
1590b389ed HAVE_CAPTURY doesn't work, no idea why, but not used now anyway
svn path=/trunk/KDE/kdebase/workspace/; revision=756704
2008-01-03 16:13:39 +00:00
Luboš Luňák
f97bd45da9 Redo checks for KWIN_HAVE(_XXX)_COMPOSITING again, in order
to have it the same also in makefiles.


svn path=/trunk/KDE/kdebase/workspace/; revision=756678
2008-01-03 15:22:19 +00:00
Luboš Luňák
52e8207d5f Dump the old taskbar thumbnail effect, replace it with a new one
that renders the thumbnail directly into another window (taskbar's tooltip).


svn path=/trunk/KDE/kdebase/workspace/; revision=756636
2008-01-03 14:00:13 +00:00
Luboš Luňák
9e0a19aa2e Login effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=736359
2007-11-14 01:01:02 +00:00
Luboš Luňák
d2c3d1a832 Prefer composited logout effect if possible.
I'm just having problems with changing the saturation, I cannot
get it to simply go to gray by reducing data.saturation :-/.

CCMAIL: rivolaks@hot.ee


svn path=/trunk/KDE/kdebase/workspace/; revision=736342
2007-11-14 00:09:14 +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
f016495c80 Add config dialog for videorecord
svn path=/trunk/KDE/kdebase/workspace/; revision=736260
2007-11-13 19:43:13 +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
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
e795e4b81f This was not supposed to be removed
svn path=/trunk/KDE/kdebase/workspace/; revision=732256
2007-11-03 10:42:12 +00:00
Rivo Laks
d78506bd0a Move testing/demo effects (those not meant for end users) to test/ subdir and don't build them by default.
svn path=/trunk/KDE/kdebase/workspace/; revision=732055
2007-11-02 17:28:21 +00:00
Luboš Luňák
b33ce330ca Another testing effect - show where painting is taking place. Quite interesting,
even for uses outside of KWin.


svn path=/trunk/KDE/kdebase/workspace/; revision=728502
2007-10-23 13:41:59 +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
Rivo Laks
b5bfa1765f Effects' config modules don't depend on opengl
svn path=/trunk/KDE/kdebase/workspace/; revision=727695
2007-10-21 13:44:40 +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
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
Dirk Mueller
f46cd49351 give a nice logging message if libcaptury cannot be found
svn path=/trunk/KDE/kdebase/workspace/; revision=706858
2007-08-31 13:10:27 +00:00
Rivo Laks
cc2600100c Add a method to render round box with a dark edge and use it for alt-tab's frame.
Now the frame has a slight edge/border around it which makes it look much better IMHO.

svn path=/trunk/KDE/kdebase/workspace/; revision=704310
2007-08-24 15:44:52 +00:00
Rivo Laks
11cff2c158 Add LookingGlass, a fancier-looking magnifier.
svn path=/trunk/KDE/kdebase/workspace/; revision=687380
2007-07-13 13:22:09 +00:00
Allen Winter
5c93175949 remove kde4_automoc()
svn path=/trunk/KDE/kdebase/workspace/; revision=685984
2007-07-10 09:14:12 +00:00
Rivo Laks
42a4d364c2 Add a generic function to render a box with rounded corners.
Algorithm is basically same as for shadow, perhaps even shadow will use it.

svn path=/trunk/KDE/kdebase/workspace/; revision=683514
2007-07-04 20:33:35 +00:00
Rivo Laks
3bcf28270d Arg... install the shadow texture
svn path=/trunk/KDE/kdebase/workspace/; revision=683215
2007-07-04 11:46:50 +00:00
Rivo Laks
5af2cb8dda Add sharpen effect which does some basic sharpening.
Also requires shaders and shortcut is Ctrl+F7 for now.

svn path=/trunk/KDE/kdebase/workspace/; revision=683165
2007-07-04 10:01:04 +00:00
Rivo Laks
f69139e825 Add invert effect which inverts aka negates desktop's colors.
Shortcut is Ctrl+F6 for now.
  Requires shaders.

svn path=/trunk/KDE/kdebase/workspace/; revision=683162
2007-07-04 09:59:07 +00:00
Luboš Luňák
5913a1d781 These are demo effects.
svn path=/trunk/KDE/kdebase/workspace/; revision=682845
2007-07-03 14:44:38 +00:00
Dirk Mueller
e625a97905 include cleanups
svn path=/trunk/KDE/kdebase/workspace/; revision=680057
2007-06-25 11:03:18 +00:00
Rivo Laks
ea6f0ae502 - Effects' config module should link to kwineffects and shouldn't link to kutils.
- Make use of the two EffectHandler helper methods: effect config modules now notify KWin that
  corresponding effect should be reloaded when it's config is changed.

svn path=/trunk/KDE/kdebase/workspace/; revision=669436
2007-05-29 11:48:10 +00:00
Rivo Laks
c22b4809a5 Add working config modules for PresentWindows and Shadow effects.
You can configure shadow's offset and opacity and presentwindow's mouse activation areas
  (e.g. activate when mouse it at top-right corner).

svn path=/trunk/KDE/kdebase/workspace/; revision=669040
2007-05-28 11:34:12 +00:00
Rivo Laks
2ace94d3c8 Move all .desktop files of effects to $SERVICES_DIR/kwin and use ksycoca to e.g. get list of available effects.
As effect's full internal name is used when looking up the effect, you now need to provide the full name
  (e.g. kwin4_effect_blur instead of just blur) when loading effects via dcop.

svn path=/trunk/KDE/kdebase/workspace/; revision=669032
2007-05-28 11:12:20 +00:00
Rivo Laks
d6c8a0371d * Rearrange CMakeLists.txt to be (IMHO) a bit more logical.
* Move drunken, shakymove and wavywindows from builtins to tests. Probably they should also be
  prefixed with test or demo, but I'm not bothered enough to do it myself yet.

svn path=/trunk/KDE/kdebase/workspace/; revision=667378
2007-05-22 16:58:10 +00:00
Luboš Luňák
8d9f931cfd Build properly without OpenGL/XRender.
svn path=/trunk/KDE/kdebase/workspace/; revision=662052
2007-05-07 11:46:01 +00:00
Luboš Luňák
f52b8e48cd branches/work/kwin_composite becomes new trunk kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
2007-04-29 17:35:43 +00:00
Luboš Luňák
2b7e1f4993 Remove kwin, kwin_composite will become new trunk kwin, missing merges
from trunk will be merged in.


svn path=/trunk/KDE/kdebase/workspace/; revision=659200
2007-04-29 17:34:49 +00:00
Rivo Laks
72f2d412c1 Add blur effect.
Blur effects blurs out background of translucent windows, thus improving e.g. readability of text in
  such windows.
I'll send a mail with couple of screenshots and more details to kwin list soon.

svn path=/branches/work/kwin_composite/; revision=658817
2007-04-28 15:13:28 +00:00
Luboš Luňák
bf29f2c3e1 Effect which can temporarily mark places on the screen.
svn path=/branches/work/kwin_composite/; revision=656547
2007-04-21 17:12:17 +00:00
Rivo Laks
868719ed65 Port ExplosionEffect to plugin system
svn path=/branches/work/kwin_composite/; revision=656456
2007-04-21 12:57:15 +00:00
Rivo Laks
e979de43fb Another demo effect which uses shader and render target to turn your screen into a liquid, wavy surface.
Soon we'll have more silly effects than Beryl/Compiz ;-)

svn path=/branches/work/kwin_composite/; revision=655575
2007-04-18 19:44:49 +00:00
Rivo Laks
7a5415ecdb Add a demo/test effect for GLRenderTarget.
It renders a small rotating thumbnail of the scene in the middle of the screen.

svn path=/branches/work/kwin_composite/; revision=655498
2007-04-18 15:42:06 +00:00
Luboš Luňák
67fdfa03e7 Add effect that highlights the mouse when one
presses left and right mouse button. There needs to be
found a better way of activating this though :-/.


svn path=/branches/work/kwin_composite/; revision=654750
2007-04-16 21:15:15 +00:00
Luboš Luňák
18f86e79d4 Small cleanups.
svn path=/branches/work/kwin_composite/; revision=654707
2007-04-16 19:55:28 +00:00
Luboš Luňák
743c5da956 A silly effect that just shows a picture. Using
picture of Konqi is recommended :).


svn path=/branches/work/kwin_composite/; revision=654703
2007-04-16 19:52:21 +00:00
Rivo Laks
408cb3b28f Remove DesktopChangeSlide from the makefile as well
svn path=/branches/work/kwin_composite/; revision=654694
2007-04-16 19:38:20 +00:00
Luboš Luňák
f8fd7b7ff1 Effect that shows all desktops in a grid.
svn path=/branches/work/kwin_composite/; revision=654642
2007-04-16 17:25:02 +00:00
Luboš Luňák
f5fa11222a Effects that can keep thumbnails of selected windows permanently
visible at the side.


svn path=/branches/work/kwin_composite/; revision=654185
2007-04-15 10:56:17 +00:00