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
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
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
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.
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
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.
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.
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.
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
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
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
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
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
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.
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.
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
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
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
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
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
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
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
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
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
and keeps confusing people. Go with 'recordmydesktop --full-shots' or
something until this is fixed.
svn path=/trunk/KDE/kdebase/workspace/; revision=918699
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
solidshell, use solid-[powermanagement,bluetooth,network] as they currently are exactly what solidshell used to be.
svn path=/trunk/KDE/kdebase/workspace/; revision=786917
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
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
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
- 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
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
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
* 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
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
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