2390 Commits (6f5f999c54ff62ea7e9fa724b93f344a70870a10)

Author SHA1 Message Date
Martin Gräßlin 0063e2ed2d Translucency effect rewritten in JavaScript
Supported Features:
* move/resize
* active/inactive
* special window type
* window decoration as missing in AnimationEffect

The animations are cancelled when they go into an invisible state (e.g.
desktop changed, minimized) and are set again when the window becomes
visible.

Where a transition is useful, the window gets animated, e.g. start/finish
of move resize.

BUG: 294856
FIXED-IN: 4.11
REVIEW: 110747
11 years ago
Martin Gräßlin 941c02a60f Introduce cross-fading with previous pixmap
Cross fading with previous pixmap is achieved by referencing the old
window pixmap. WindowPaintData has a cross-fade-factor which interpolates
between 0.0 (completely old pixmap) to 1.0 (completely new pixmap).

If a cross fading factor is set and a previous pixmap is valid this one
is rendered on top of the current pixmap with opacity adjusted. This
results in a smoother fading.

To simplify the setup the AnimationEffect is extended and also takes care
about correctly (un)referencing the previous window pixmap. The maximize
effect is adjusted to make use of this new capabilities.

Unfortunately this setup has a huge problem with the case that the window
decoration gets smaller (e.g. from normal to maximized state). In this
situation it can happen that the old window is rendered with parts outside
the content resulting in video garbage being shown. To prevent this a set
of new WindowQuads is generated with normalized texture coordinates in
the safe area which contains real content.

For OpenGL2Window a PreviousContentLeaf is added which is only set up in
case the crass fading factor is set.

REVIEW: 110578
11 years ago
l10n daemon script 34c8d6feb6 SVN_SILENT made messages (.desktop file) 11 years ago
Martin Gräßlin 1fd779695f Rewrite of dialog parent effect in JavaScript
REVIEW: 110802
11 years ago
Martin Gräßlin 76c207df09 Helper effect for KScreen integration
This effect is controlled by KScreen. It fades out all windows when
KScreen requests this and gives feedback to KScreen once all windows are
faded out. This allows KScreen to adjust the screens in a flicker free
way.

REVIEW: 110661
BUG: 319994
FIXED-IN: 4.11
11 years ago
Martin Gräßlin 2657476db0 Safety checks in cube and coverswitch if shaders are not available
Do not try to load the shaders if using the OpenGL1 compositor - it
might crash the driver.

REVIEW: 110798
11 years ago
l10n daemon script 020f6fd612 SVN_SILENT made messages (.desktop file) 11 years ago
l10n daemon script 3a0999688f SVN_SILENT made messages (.desktop file) 11 years ago
Martin Gräßlin 4f2f8bda11 Use GLSL 1.40 shaders as GLSL 300 es shaders for effects
Like for the scene shaders. Makes the effects work again when using
GLES 3.
11 years ago
Martin Gräßlin 5c78f7eabe GLSL 1.40 shader for lookingglass effect
REVIEW: 110574
11 years ago
Martin Gräßlin c00d468f0f GLSL 1.40 shader for CoverSwitch Reflection
Shader moved to 1.10 subdirectory and a new version for 1.40 added.
At the same time call to glPolygonMode removed as it caused errors with
core context (and seems to not be needed).

REVIEW: 110572
11 years ago
Martin Gräßlin c1486596fb GLSL 1.40 shaders for cube effect
Shaders are moved into dedicated directories 1.10 and 1.40. 1.10 contains
the already existing versions, 1.40 copies of them adjusted to GLSL 1.40.

REVIEW: 110571
11 years ago
Martin Gräßlin 2bee9a0ee0 Use generic fragment shader for Cylinder and Sphere
Shaders were broken. Issue mentioned in the TODO seems to no longer be
present (at least not on the system I used for testing).

REVIEW: 110570
11 years ago
Martin Gräßlin 58ffb7b627 GLSL 1.40 shader for invert effect
REVIEW: 110573
11 years ago
Martin Gräßlin 95656c3936 Remove the u_forceAlpha
It's unused nowadays.
11 years ago
l10n daemon script a3b09b7ac4 SVN_SILENT made messages (.desktop file) 11 years ago
Fredrik Höglund 19796b8263 kwin: Use the robust access functions
Use glReadnPixels() instead of glReadPixels(), and glGetnUniformfv()
instead of glGetUniformfv().
12 years ago
Martin Gräßlin ca5032e9d6 Drop explosion effect
It has been unmaintained and mostly broken for years.

BUG: 312176
FIXED-IN: 4.11
REVIEW: 110513
12 years ago
Script Kiddy e5316fa9d9 SVN_SILENT made messages (.desktop file) 12 years ago
Script Kiddy f668277b1b SVN_SILENT made messages (.desktop file) 12 years ago
Script Kiddy d8db0f88be SVN_SILENT made messages (.desktop file) 12 years ago
Kai Uwe Broulik ed955e9488 Rewrite Scale In effect in JavaScript
REVIEW: 109075
12 years ago
Montel Laurent dd8cf0b678 normalize signal/slot 12 years ago
Script Kiddy 68ddc5f236 SVN_SILENT made messages (.desktop file) 12 years ago
Script Kiddy 44c8899fee SVN_SILENT made messages (.desktop file) 12 years ago
Fredrik Höglund 9006e0e465 kwin/logout: Add GLSL 1.40 versions of the shaders 12 years ago
Fredrik Höglund c652c8e1a8 kwin/blur: Add support for GLSL 1.40 12 years ago
Fredrik Höglund eff09c2b6f kwin/blur: Refactor the gaussian kernel code 12 years ago
Script Kiddy 5a32f8e813 SVN_SILENT made messages (.desktop file) 12 years ago
Martin Gräßlin 49e734f743 Change the way how effects can get mouse events
With the removal of BoxSwitch all effects which want mouse events use the
fullscreen input window. The available functionality is too complex both
in EffectsHandler and in the Effects.

With this change only fullscreen input windows are supported and all
effects share the input window. This means there is at maximum one input
window. This simplifies the code in the Effects as they don't have to
keep track of the window they created any more. In EffectsHandler it
means that only one window needs to be created, destroyed and raised.
Also it means that we can properly react on screen size changes which had
been ignored in the past. Also quite some roundtrips to X are no longer
needed as we do not need to query the window geometry when creating the
input window.

REVIEW: 110156
12 years ago
Script Kiddy dfd72523b1 SVN_SILENT made messages (.desktop file) 12 years ago
Script Kiddy ffc0e62f9d SVN_SILENT made messages (.desktop file) 12 years ago
Script Kiddy 0922410d5b SVN_SILENT made messages (.desktop file) 12 years ago
Script Kiddy 8e8a18748d SVN_SILENT made messages (.desktop file) 12 years ago
Martin Gräßlin 1a3bc3f60c Split Outline in a composited and non-composited part
The non-composited part handles the showWithX case with the four small
windows. The composited part shows a translucent QWidget with the
FrameSvg as done by the selection effect frame.

Outline connects to the Compositor toggled signal to switch the mode if
compositing gets suspended/resumed. This works fine also in the case that
the switch happens while the outline is shown. To support this Outline
is now a QObject and created with Workspace as a parent.

Given that the Outline handles both cases by itself, the outline effect
is no longer needed and is dropped together with all the hooks into the
effect system.
12 years ago
Martin Gräßlin 83e3f18014 Drop BoxSwitch Effect
BoxSwitch effect has been obsoleted by QML based
Window and Desktop Switchers.

FEATURE: 296071
FIXED-IN: 4.11.0
REVIEW: 104454
12 years ago
Martin Gräßlin 8c4d695907 Remove thumbnail bar from CoverSwitch Effect
The usage has always been questionable as the thumbnails are
too small to properly recognize something.

Now BoxSwitch Effect has reach its end of life which would have
required to keep most of the code just for this thumbnail bar.

If required it would be better to integrate the normal QML based
TabBox to be rendered together with an effect.

BUG: 296070
FIXED-IN: 4.11.0
12 years ago
Script Kiddy 71d0e363d3 SVN_SILENT made messages (.desktop file) 12 years ago
Script Kiddy d2b718ac0d SVN_SILENT made messages (.desktop file) 12 years ago
Script Kiddy 71743ba5cb SVN_SILENT made messages (.desktop file) 12 years ago
Script Kiddy 041ee1ac71 SVN_SILENT made messages (.desktop file) 12 years ago
Thomas Lübking 1bda85f9f5 resize effect: use preMultiply function for color 12 years ago
Thomas Lübking 8cf6e39eab general tabbox support for screenedges
REVIEW: 109362
BUG: 316288
FIXED-IN: 4.11
12 years ago
Feng Chao 7854d12743 Fix Bug 316877 - Description text for the Slide Back effect is incorrect
Change "Slide back windows losing focus" to
"Slide back windows when another window is raised"

BUG: 316877
12 years ago
Script Kiddy f515789b02 SVN_SILENT made messages (.desktop file) 12 years ago
Script Kiddy 99ceff018a SVN_SILENT made messages (.desktop file) 12 years ago
Martin Gräßlin caf340a607 Drop MouseClickEffect::supported
It returns true...

REVIEW: 109955
12 years ago
Martin Gräßlin 10002e2006 Add "This effect is not a benchmark" to FPS Effect
Underneath the graph the text "This effect is not a benchmark" is
rendered.

REVIEW: 109869
12 years ago
Script Kiddy e793067ab6 SVN_SILENT made messages (.desktop file) 12 years ago
Script Kiddy ef0c9f3e94 SVN_SILENT made messages (.desktop file) 12 years ago