Commit graph

8098 commits

Author SHA1 Message Date
Script Kiddy
ffd4385396 SVN_SILENT made messages (.desktop file) 2011-05-06 09:17:40 +02:00
Hugo Pereira Da Costa
b602ce9d52 fixed default tab. 2011-05-05 23:43:11 +02:00
Script Kiddy
f08ee510ce SVN_SILENT made messages (.desktop file) 2011-05-05 08:48:17 +02:00
Script Kiddy
fd9ecd8d09 SVN_SILENT made messages (.desktop file) 2011-05-03 10:32:34 +02:00
Script Kiddy
7bc87bca86 SVN_SILENT made messages (.desktop file) 2011-05-02 09:21:02 +02:00
Yuri Chornoivan
65f0763df4 fix typo: perfomed->performed 2011-05-02 10:00:49 +03:00
Fredrik Höglund
65025071fc kwin/blur: Optimize the paint region
Optimize the region of the screen that's painted in each frame,
and paint the windows top-to-bottom when the damaged region doesn't
intersect any blurred areas.
2011-05-02 02:06:18 +02:00
Fredrik Höglund
8ab56a2146 kwin: Return all windows in EffectsHandlerImpl::stackingOrder() 2011-05-02 02:06:18 +02:00
Fredrik Höglund
7ef8f444f6 kwin/blur: Disable by default on all Intel chipsets 2011-05-02 02:06:17 +02:00
Fredrik Höglund
e5ea420e96 kwin: Add an enabledByDefault() function to the effects interface
This makes it possible to decide at runtime if an effect should
be enabled by default.
2011-05-02 02:06:17 +02:00
Montel Laurent
422eacb42b Fix warning (order) 2011-05-01 14:57:01 +02:00
Martin Gräßlin
2e7116f126 Build option to enable building of KCMs
New build option KWIN_BUILD_KCMS to control whether to build
all KWin kcms or not. By default kcms are built.
CCMAIL: sebas@kde.org
2011-05-01 13:27:13 +02:00
Martin Gräßlin
c37b7cdcba GUI option to control new GLLegacy option
Needs to be removed when compiled against GLES.
2011-05-01 13:04:29 +02:00
Hugo Pereira Da Costa
c2367fabe0 Merge branch 'master' of git.kde.org:kde-workspace 2011-05-01 11:53:07 +02:00
Hugo Pereira Da Costa
c5766a5e3a removed "shadowMode" option, since it has been obsoleted by kwin's new shadow system. 2011-05-01 11:52:22 +02:00
Martin Gräßlin
067ca63239 Enable direct rendering for all Mesa drivers
As KWin requires at least Mesa 7.10 for OpenGL we can be sure
that all Mesa drivers support DRI2 and can enable direct rendering
for it.

Parsing the version string to identify if it is a mesa driver.
This can cause breakage again in future versions of Mesa.
Unfortunately version, vendor and renderer are the only information
queryable just with OpenGL API.
BUG: 270942
FIXED-IN: 4.7.0
2011-05-01 11:52:19 +02:00
Martin Gräßlin
32adc59e4b Use cap shader to render area between screens in cube
This fixes most of the rendering issues with cube in multi
screen setups and GLSL backend. For cylinder and sphere the
rendering of areas between screen is currently disabled if
using the GLSL backend. It needs adjustments to use another
vertex shader. Not sure if it is worth the effort.
2011-05-01 11:28:07 +02:00
Martin Gräßlin
d396ce990b Fix untextured cube caps with GLSL 2011-05-01 11:28:07 +02:00
Script Kiddy
a773a063b6 SVN_SILENT made messages (.desktop file) 2011-05-01 09:27:31 +02:00
Montel Laurent
c0a47ae1dd Warning-- 2011-04-30 13:17:26 +02:00
Martin Gräßlin
9a6cf6f136 No OpenGL/GLX compositing on Gallium softpipe
BUG: 271166
FIXED-IN: 4.7.0
2011-04-30 10:30:43 +02:00
Script Kiddy
31218c820c SVN_SILENT made messages (.desktop file) 2011-04-30 09:13:55 +02:00
Martin Gräßlin
5290e78106 Adding an option GLLegacy to force OpenGL 1
Setting option "GLLegacy" to true in config group "Compositing"
will disable all GLSL shaders and kwin uses the legacy OpenGL 1
code pathes. Obviously the option is ignored with GLES.

As my Qt Designer is refusing to work, there is no GUI option yet.
2011-04-29 16:44:48 +02:00
Martin Gräßlin
728f333e6a Only use GLSL shader for lanczosfilter if ShaderManager is valid 2011-04-29 16:44:48 +02:00
Martin Gräßlin
818a936e99 Only use GLSL blur shader if ShaderManager is valid 2011-04-29 16:44:48 +02:00
Christoph Feck
24b9a8c9db Move decoration option
It is needed in the config_kwin.h file, so it must be declared before.
2011-04-29 15:33:52 +02:00
Martin Gräßlin
57c101c04d Fix sphere shader 2011-04-29 14:12:48 +02:00
Martin Gräßlin
4d463a4dc4 Use placement strategy Maximizing when building without decos 2011-04-29 12:46:04 +02:00
Martin Gräßlin
cf1ab4e330 Do not try to load plugin when building without decos 2011-04-29 12:34:22 +02:00
Martin Gräßlin
fda841787f Make Logout Effect work again with OpenGL 2 backend
It's more of a hack, but at least it is working again. Still needs
a proper rewrite to also support GLES.
2011-04-29 10:49:06 +02:00
Martin Gräßlin
982f041204 KWin requires Mesa 7.10 for OpenGL/GLX
If OpenGL compositing is tried in GLX with a Mesa driver not
at least 7.10 we stop OpenGL compositing.

For OpenGL ES we just assume that all Mesa drivers are fine, so
no requirement.
2011-04-28 22:11:51 +02:00
Thomas Lübking
676d180e4f remove comments from commit 7da7090bc802a8b9d1ee0a969ea794921a74b86b 2011-04-28 21:43:13 +02:00
Martin Gräßlin
39151f8454 Explicitly repaint when thumbnails are requested/removed
That looks like it only worked because the thumbnail background
was repainted at the same time. Let's make it a little bit more
reliable.
2011-04-28 20:02:26 +02:00
Martin Gräßlin
e25913cafb Ensure Add/remove button is removed when DesktopGrid is unloaded
BUG: 271481
FIXED-IN: 4.7.0
2011-04-28 19:18:24 +02:00
Hugo Pereira Da Costa
3db49d9882 Merge branch 'master' of git.kde.org:kde-workspace 2011-04-28 18:09:46 +02:00
Hugo Pereira Da Costa
8d7455cfaf sanitize color handling in button rendering. 2011-04-28 18:09:09 +02:00
Jacopo De Simoi
42941eba8a kwin: Fix the clip intersection code (XRender)
Do not process windows if the clip region does not
intersect the window region
2011-04-28 11:39:59 -04:00
Jacopo De Simoi
e688058235 kwin: Implement shadows in XRender compositor
There are still some glitches to be fixed, but
it works well for most use-cases.
2011-04-28 11:39:48 -04:00
Hugo Pereira Da Costa
24543ebbb9 Use QPalette::Button colors for button (!) rendering. 2011-04-28 17:28:46 +02:00
Martin Gräßlin
ecf9d6e989 Conditionally build all window decorations
Adding a new CMake option KWIN_BUILD_DECORATIONS to conditionally
build all window decorations. By default build is enabled.
CCMAIL: sebas@kde.org
2011-04-28 16:18:15 +02:00
Martin Gräßlin
f97c92fde9 KWin does not require a decoration plugin any more
With config option "NoPlugin" in group "Style" it is possible to
no request that KWin should be run without a decoration plugin.
This is a change for Plasma Active to properly support no decorations.

As well if a decoration plugin cannot be loaded, KWin will no longer
exit, but continue to run just without a decoration. As a nice
side-effect changes in Oxygen no longer destroy my kwin build ;-)

BUG: 224440
FIXED-IN: 4.7.0
CCMAIL: sebas@kde.org
2011-04-28 16:05:23 +02:00
Martin Gräßlin
4fc369bb3f All decorations nowadays start with kwin3 2011-04-28 16:05:23 +02:00
Thomas Lübking
48d8864090 remove QHash::operator[] from the motionmanager and sharpen the ::finish condiion
CCBUG: 252986
2011-04-28 14:34:45 +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
98cc15cfac Allow effects to render the outline 2011-04-28 13:49:22 +02:00
Martin Gräßlin
022d7a32a0 Remove binding of selection to styled EffectFrame
This allows to just set the selection on a None EffectFrame so
that only the selection is rendered without blurring the background
and so on.
2011-04-28 13:49:22 +02:00
Martin Gräßlin
ff3900d825 Refactor KWin Outline code into an own class
This change unduplicates some code and merges it into one class
allowing us to use an replacement effect for the outline in
future.
CCMAIL: a.arlt@stud.uni-heidelberg.de
REVIEW: 100848
2011-04-28 11:19:05 +02:00
Martin Gräßlin
9586c0b8d4 Fix broken cube rotation with GL2 backend 2011-04-27 15:13:26 +02:00
Martin Gräßlin
77a7bedac8 Delete ShaderManger before destroying GL Context 2011-04-27 14:52:04 +02:00
Martin Gräßlin
d647950ff0 Do not blur behind EffectFrames with no style 2011-04-27 14:52:04 +02:00