Commit graph

7294 commits

Author SHA1 Message Date
Script Kiddy
f320e0ed67 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1154317

The following changes were in SVN, but were removed from git:

M	wallpapers/Autumn/metadata.desktop
M	wallpapers/Grass/metadata.desktop
2010-07-25 06:46:07 +00:00
Hugo Pereira Da Costa
8762a1ac55 Tried improve performances during title transitions by triggering updates of the title area only.
svn path=/trunk/KDE/kdebase/workspace/; revision=1154145
2010-07-24 21:45:25 +00:00
Martin Gräßlin
111db93e05 Blur background of EffectFrames.
BUG: 241389
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/workspace/; revision=1154132
2010-07-24 20:48:19 +00:00
Martin Gräßlin
89c0ea0c8d Pass EffectFrame through all effects, so that they can do something with the frame.
E.g. set a shader to invert it.
CCBUG: 241389

svn path=/trunk/KDE/kdebase/workspace/; revision=1154071
2010-07-24 16:29:16 +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
Christoph Feck
7dfe789250 Fix UI file
* Remove hardcoded sizes of dialog and layouts
* Remove form title
* Remove redundant group boxes
* Do not educate users in the user interface (but in the tool tip)
* Capitalize words

svn path=/trunk/KDE/kdebase/workspace/; revision=1153972
2010-07-24 11:41:56 +00:00
Martin Gräßlin
6dfbd48488 This debug statement was never intended to be committed
svn path=/trunk/KDE/kdebase/workspace/; revision=1153933
2010-07-24 08:04:58 +00:00
Martin Gräßlin
20b711e2e8 Use a VBO for rendering an unstyled effect frame.
svn path=/trunk/KDE/kdebase/workspace/; revision=1153932
2010-07-24 08:04:17 +00:00
Martin Gräßlin
6641ac5648 GLRenderBuffer supports legacy painting if VBOs are not available.
This gives us one API for both legacy and modern painting.
All glRenderGeometry* calls are deprecated as they use quads and
legacy painting.

svn path=/trunk/KDE/kdebase/workspace/; revision=1153911
2010-07-24 07:32:42 +00:00
Script Kiddy
8ddf5106eb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1153900
2010-07-24 07:19:53 +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
Hugo Pereira Da Costa
a11fe5349b added missing include directory
svn path=/trunk/KDE/kdebase/workspace/; revision=1153670
2010-07-23 18:20:31 +00:00
Hugo Pereira Da Costa
6ef58dcfc9 Moved oxygenitemmodel and listmodel to libs.
Code clean-up.

svn path=/trunk/KDE/kdebase/workspace/; revision=1153665
2010-07-23 18:05:09 +00:00
Script Kiddy
db1f5acfee SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1153425
2010-07-23 07:10:39 +00:00
Martin Gräßlin
fb939ac8ed Blacklist Ironlake Mobile for Lanczos
CCBUG: 243181

svn path=/trunk/KDE/kdebase/workspace/; revision=1153178
2010-07-22 18:13:21 +00:00
Script Kiddy
0b785539e2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1152920
2010-07-22 06:25:24 +00:00
Martin Gräßlin
b296b7a00c Generate correct tex coordinates for rendering a texture.
This way we can get rid of the texture matrix transformations when rendering a standard texture - no matter if it's inverted or not.

svn path=/trunk/KDE/kdebase/workspace/; revision=1152649
2010-07-21 16:36:26 +00:00
Script Kiddy
d8ca06d029 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1152483
2010-07-21 07:06:28 +00:00
Martin Gräßlin
fa832b7aa7 Cache the icon texture/picture in EffectFrame and use texture from pixmap to load the data in OpenGL mode. Yeah for less pixmap to image to gltexture conversations.
Some effects (boxswitch and flipswitch) still need to be changed to not set the icon in each frame.

svn path=/trunk/KDE/kdebase/workspace/; revision=1152367
2010-07-20 21:11:03 +00:00
Martin Gräßlin
73d8041d5a We need normalized tex coords for vbo, too.
svn path=/trunk/KDE/kdebase/workspace/; revision=1152364
2010-07-20 20:51:44 +00:00
Martin Gräßlin
ee00a9f8f1 Restrict painting of texture to the current rendering region when using a VBO.
svn path=/trunk/KDE/kdebase/workspace/; revision=1152296
2010-07-20 16:45:13 +00:00
Hugo Pereira Da Costa
289e6f5f74 Added cache to clip away center region of shadows, in order no to overlap with the decoration painting.
Changed mask for the decoration painting. 
This is needed for proper implementation of decoration translucency.

svn path=/trunk/KDE/kdebase/workspace/; revision=1151956
2010-07-20 01:39:15 +00:00
Martin Gräßlin
d732e2f56c On the road to more efficient painting: introducing new class GLVertexBuffer which encapsulates a vertex buffer object.
Used by GLTexture if GPU supports VBO.

svn path=/trunk/KDE/kdebase/workspace/; revision=1151906
2010-07-19 20:53:32 +00:00
Martin Gräßlin
e2eebb6503 Refactoring of EffectFrame: EffectFrame becomes an interface just like EffectsHandler and EffectWindow and a concrete EffectFrameImpl in core.
Rendering of the EffectFrame is moved into the scene as Scene::EffectFrame with a concrete implementation in SceneXrender and SceneOpenGL.
A factory method for an EffectFrame is added to the EffectsHandler, which is used by the effects.
Next step: pass the EffectFrame through all effects, so that effects can transform, blur, invert whatever it.

svn path=/trunk/KDE/kdebase/workspace/; revision=1151271
2010-07-18 16:32:37 +00:00
Script Kiddy
9c57c29385 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1151156

The following changes were in SVN, but were removed from git:

M	wallpapers/Ethais/metadata.desktop
2010-07-18 06:34:35 +00:00
Nikhil Marathe
c02ac050c5 Delete a tile when it is removed.
removeTileNoArrange() deletes the tile, so removeTile() uses some other tile to attempt a rearrange. If we have no tiles, we don't need to rearrange anyway.

svn path=/trunk/KDE/kdebase/workspace/; revision=1150491
2010-07-16 06:10:40 +00:00
Martin Gräßlin
aa89bef5c0 First version of blacklist update script.
It blacklists for Lanczos
Intel: GM45 Express with Mesa 7.8.2 and 965GM with Mesa 7.7.1 and 7.8.2
Ati: DRI R600 with Mesa 7.8.1 and 7.8.2

For Blur
Intel: currently no card (we have to block all cards in the effect)
Ati: Mesa drivers as for Lanczos and Radeon HD 3650 with fglrx driver 3.3.9901
NVIDIA: GeForce 6150 with driver series 195

This is what I could read from the bug reports. There must be more versions which have to be blacklisted.
Please post your glxinfo for your cards to the bug report if it is not yet in the list.
I do not yet backport the blacklist to branch in the hope to get more versions for the list.
BUG: 243181
BUG: 242985

svn path=/trunk/KDE/kdebase/workspace/; revision=1150382
2010-07-15 20:42:39 +00:00
Martin Gräßlin
6894bf6e86 Intel drivers add a whitespace at the end of the renderer string which makes it impossible to get a good blacklist with equal comparison.
So let's switch to a contains check, which makes it easier to have a blacklist, e.g. just GeForce.
CCBUG: 243181
CCBUG: 242985

svn path=/trunk/KDE/kdebase/workspace/; revision=1150353
2010-07-15 18:59:26 +00:00
Nikhil Marathe
9674ca3822 Added i18n fix by Chusslove Illich to TilingLayoutFactory.
Adds context to tiling layout names and makes them available for translation, which didn't happen earlier.
CCMAIL: caslav.ilic@gmx.net

svn path=/trunk/KDE/kdebase/workspace/; revision=1149719
2010-07-14 05:09:01 +00:00
Nikhil Marathe
b613ae2a2c Make sure tiling related widgets are properly enabled/disabled at load
svn path=/trunk/KDE/kdebase/workspace/; revision=1149545
2010-07-13 16:15:33 +00:00
Nikhil Marathe
3ad1949c50 Ensure tiles are deleted when tiling is disabled.
This also returns windows to previous geometry

svn path=/trunk/KDE/kdebase/workspace/; revision=1149542
2010-07-13 16:02:54 +00:00
Script Kiddy
75396ffe11 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1149354
2010-07-13 09:16:50 +00:00
Nikhil Marathe
5ab491ab1f TilingLayout::clientResized() returns boolean argument.
If resize was attempted it returns true.
This way layouts can use the default implementation
to handle floating windows or unchanged geometry.
The commit() call in the default implementation is also avoided

svn path=/trunk/KDE/kdebase/workspace/; revision=1148579
2010-07-11 06:47:09 +00:00
Nikhil Marathe
44a1637e0d Don't resize if the window is floating
svn path=/trunk/KDE/kdebase/workspace/; revision=1148578
2010-07-11 06:36:59 +00:00
Martin Gräßlin
12918d3ee8 Disabling the fallback to XRender. It's causing more trouble than the benefits.
With Intel drivers currently the self check at KWin startup fails (no idea why) and KWin falls back to XRender. This is probably an explanation for all the complaints about slow kwin in 4.5 and the missing effects. So let's fail and make it possible to restart compositing via systemsettings and alt+shift+f12.
Nevertheless it would be nice to fix the the failing selfcheck...

svn path=/trunk/KDE/kdebase/workspace/; revision=1148315
2010-07-10 08:44:40 +00:00
Script Kiddy
a13e16b4f4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1148300
2010-07-10 07:01:58 +00:00
Script Kiddy
1d4f69425a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1147774
2010-07-09 06:49:05 +00:00
Script Kiddy
1ca9ec5511 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1147397
2010-07-08 07:10:51 +00:00
Martin Gräßlin
e8f0b2f111 Effects in _test directory use kwin_effect_tests library
svn path=/trunk/KDE/kdebase/workspace/; revision=1147001
2010-07-07 08:36:05 +00:00
Script Kiddy
30a47a070d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1146953
2010-07-07 07:06:21 +00:00
Martin Gräßlin
25d3fa6fd3 Force blur on all windows in fade desktop effect. Should be safe and does not make the panel ugly
svn path=/trunk/KDE/kdebase/workspace/; revision=1146696
2010-07-06 11:56:49 +00:00
Script Kiddy
7999031aa3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1146615

The following changes were in SVN, but were removed from git:

M	wallpapers/Autumn/metadata.desktop
M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Grass/metadata.desktop
M	wallpapers/Hanami/metadata.desktop
2010-07-06 08:26:07 +00:00
Martin Gräßlin
5aba1baddb The nice things about unstable ABIs is that you can remove deprecated paintText* methods, which are not used by any effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=1146500
2010-07-06 07:23:57 +00:00
Martin Gräßlin
8777c45677 It's the special time of the year again: let's increase the ABI version for 4.6
svn path=/trunk/KDE/kdebase/workspace/; revision=1146498
2010-07-06 07:05:01 +00:00
Martin Gräßlin
e39354ac81 Include the version in the blacklist separated from the renderer by colon dash colon.
svn path=/trunk/KDE/kdebase/workspace/; revision=1146496
2010-07-06 07:00:08 +00:00
Hugo Pereira Da Costa
ed8788d3af - added utility inline functions for readability
- cleaned up color handling
- fixed appearance of toggled keep above and keep-below buttons, consistently with the 'on all desktop' 
button.

svn path=/trunk/KDE/kdebase/workspace/; revision=1146313
2010-07-05 17:39:25 +00:00
Hugo Pereira Da Costa
a07407cef9 removed unused parameter to avoid compilation warning
svn path=/trunk/KDE/kdebase/workspace/; revision=1146309
2010-07-05 17:34:44 +00:00
Martin Gräßlin
4111a9f051 Support for adding a driver blacklist to be used in the lanczos filter and blur effect.
It uses a new config group Blacklist in kwinrc with two subgroups for Lanczos and Blur.
The key of each entry in the group referrences the vendor either using GL_VENDOR or GL_RENDERER, e.g. "Intel" in renderer for Intel based chips.
The value of the entries is a stringlist containing exactly the renderer information. This way it is possible to blacklist several mesa driver versions which are buggy.
The blacklist is currently empty and will be filled with a kconf update script (which could also be done by distributions). So all users who experience problems and are subscribed to the bugs receiving this message, please upload your glxinfo.
An example for a blacklist:
[Blacklist][Lanczos]
NVIDIA=GeForce 9400M/PCI/SSE2

CCBUG: 243181
CCBUG: 242985

svn path=/trunk/KDE/kdebase/workspace/; revision=1146195
2010-07-05 13:42:34 +00:00
Martin Gräßlin
87117b2325 Importing the effect written for Akademy 2010. It displays the score of the football match Argentina vs Germany and would be able to trigger an animation if the match would still be on. It's a nice example on what you can do with EffectFrames and therefore imported to test directory.
svn path=/trunk/KDE/kdebase/workspace/; revision=1146130
2010-07-05 09:45:36 +00:00
Script Kiddy
63050326ac SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1145779

The following changes were in SVN, but were removed from git:

M	wallpapers/Autumn/metadata.desktop
M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Grass/metadata.desktop
M	wallpapers/Hanami/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
2010-07-04 06:52:37 +00:00