Commit graph

5499 commits

Author SHA1 Message Date
Martin Gräßlin
e1d4d50cd6 Some more optimizations to snow effect:
* move position updates of flakes to shader
* remove the for-loop which updates the flakes. This is handled in the loop for painting the flakes
* Don't test in each frame if a flake is on the screen. Precalculate the number of frames when then flake is on the screen and count the flakes.
* Set PAINT_SCREEN_TRANSFORMED
* Remove all unneeded code (like a QTime object when we already get the time in the method)

Now it takes ~ 17 % of CPU usage on my system. Seems to be the maximum of what is possible.

svn path=/trunk/KDE/kdebase/workspace/; revision=884305
2008-11-14 16:18:34 +00:00
Lucas Murray
c00589e6d7 Added message to help users find the advanced desktop borders setting.
Allow all large labels to word wrap, fixes resizing minimum size.

svn path=/trunk/KDE/kdebase/workspace/; revision=884234
2008-11-14 13:28:13 +00:00
Lucas Murray
b0ed226d94 Fixed hideen previews and smooth scaling advanced options not triggering
a compositing reinitialization when changed.

svn path=/trunk/KDE/kdebase/workspace/; revision=884221
2008-11-14 13:18:03 +00:00
Lucas Murray
ff8c9c2468 SVN_SILENT Disable the advanced tab when desktop effects are disabled.
svn path=/trunk/KDE/kdebase/workspace/; revision=884200
2008-11-14 12:46:11 +00:00
Lucas Murray
2cfcdf66f7 Moved desktop effect advanced options GUI from a dialog into a tab.
svn path=/trunk/KDE/kdebase/workspace/; revision=884186
2008-11-14 12:36:59 +00:00
Lucas Murray
a3f7f13f70 Cleaned up desktop effect GUI, moved screen edges to a separate tab.
svn path=/trunk/KDE/kdebase/workspace/; revision=884135
2008-11-14 11:53:25 +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
Laurent Montel
5535a9de5e Fix iterator
svn path=/trunk/KDE/kdebase/workspace/; revision=883047
2008-11-11 23:09:11 +00:00
Martin Gräßlin
b274203a6a Merge the coverswitch branch from git://github.com/Zarin/kwin.git (http://github.com/Zarin/kwin/tree/coverswitch)
This includes:
 * use of RotationData instead of glRotate
 * use of x/y/zTranslate instead of glTranslate
 * does not define own projection matrix
 * changed the direction of the animation (consistent with Cover Flow)
 * no special code for start/stop animations. That's now covered in the code 
for "normal" switching, thanks to not using glTranslate any more. Therefore 
minimized windows are faded instead of moved from panel
 * zoom - define how far away the windows appear (only in config dialog possible)
 * additional thumbnail bar which is shown when there are many (>= 8, configurable) windows
 * window covers can be clicked and become selected window

(Sorry for the one big commit - looking forward to the days when we don't lose commit history when using git ;-))

svn path=/trunk/KDE/kdebase/workspace/; revision=883008
2008-11-11 21:32:45 +00:00
Luboš Luňák
7d428058d3 Mark hide() explicitly as a slot, since it's not virtual with Qt4.
Patch by "qiang zhang" <liubingzhq@gmail.com>.


svn path=/trunk/KDE/kdebase/workspace/; revision=882915
2008-11-11 16:31:24 +00:00
Luboš Luňák
83ddb8f249 Make sure the GLX context is destroyed before the window it's been
made current with. Even though it should be allowed to do it afterwards
it seems this can crash AIGLX.
http://lists.freedesktop.org/archives/xorg/2008-November/040168.html
BUG: 174782


svn path=/trunk/KDE/kdebase/workspace/; revision=882880
2008-11-11 15:06:45 +00:00
Script Kiddy
21e596dcf8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=882834

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

M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Golden_Ripples/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Leafs_Labyrinth/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2008-11-11 13:06:11 +00:00
Martin Gräßlin
9f96d84a12 Option to snow behind windows and small performance improvement by using a glList
svn path=/trunk/KDE/kdebase/workspace/; revision=882720
2008-11-11 11:31:12 +00:00
Script Kiddy
98b787c75b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=882521
2008-11-10 21:24:38 +00:00
Matthias Kretz
1859e1f7ba add kconf_update application to do a one-time cleanup of the libraryPath in Trolltech.conf
svn path=/trunk/KDE/kdebase/workspace/; revision=882364
2008-11-10 16:25:07 +00:00
Michael Jansen
dfc55420e7 - Only record single key global shortcuts
- print a debug message when ignoring the entered shortcuts because
  of conflicts.

svn path=/trunk/KDE/kdebase/workspace/; revision=882188
2008-11-10 00:03:17 +00:00
Script Kiddy
ac2ec9e4d4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=881803
2008-11-08 23:47:39 +00:00
Script Kiddy
1e620b0705 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=881079
2008-11-07 12:47:36 +00:00
Script Kiddy
b82584776e SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=881004
2008-11-07 07:35:59 +00:00
Lucas Murray
fcb97626b0 Fix compiling error if OpenGL headers are unavailable. Patch by Simon St
James.

svn path=/trunk/KDE/kdebase/workspace/; revision=880985
2008-11-07 02:18:31 +00:00
Luboš Luňák
c22847c5a7 Add a kconf_update script to dump all the possibly previously created
shortcuts that'd block actually using them, and make sure KAction's
used for those are properly deleted (was broken by avoiding deadlocks
with kdedglobalaccel by delaying shortcut handling, which is then
not done when destroying the client).


svn path=/trunk/KDE/kdebase/workspace/; revision=880852
2008-11-06 17:15:33 +00:00
Luboš Luňák
fe84baef03 Use the '_k_session' shortcuts feature for the per-window shortcuts,
as those are definitely not to be handled by kdedglobalaccel besides
delivering the event, only KWin can keep track of those. Also add
a kconf_update script to dump all the possibly previously created
shortcuts that'd block actually using them.


svn path=/branches/KDE/4.1/kdebase/workspace/; revision=880850
2008-11-06 17:11:47 +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
Martin Gräßlin
585addb450 Add a widget to assign an effect to screen edges in the kwincompositing dialog.
Remove the previous configuration for assigning screen edges from the config dialogs of the single effects.

svn path=/trunk/KDE/kdebase/workspace/; revision=880728
2008-11-06 10:42:36 +00:00
Luboš Luňák
ab6772a8c9 Enable compositing with nvidia by default only for driver 173.14.12 and up,
this rules out GeForce4 and below, but there it's still possible to enable
it explicitly if the user finds it good enough.


svn path=/trunk/KDE/kdebase/workspace/; revision=880710
2008-11-06 09:31:33 +00:00
Luboš Luňák
1e231ca9e6 Add a link to the techbase KWin page, which should be where all other docs and links are referenced.
svn path=/trunk/KDE/kdebase/workspace/; revision=880539
2008-11-05 19:57:33 +00:00
Script Kiddy
7eee3c55d5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=880428
2008-11-05 13:34:33 +00:00
Luboš Luňák
b17896174f r873188
Backport of r835483 redraw buttons when redrawing the whole decoration
(BUG: 167886)


svn path=/branches/KDE/4.1/kdebase/workspace/; revision=879707
2008-11-03 21:09:24 +00:00
Script Kiddy
2da136dbe4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=879567
2008-11-03 12:51:32 +00:00
Script Kiddy
81cb87277c SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=879383
2008-11-03 07:25:27 +00:00
Albert Astals Cid
9c529cce52 add context
svn path=/trunk/KDE/kdebase/workspace/; revision=879207
2008-11-02 17:39:23 +00:00
Script Kiddy
6649c416c1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=879117

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

M	wallpapers/Leafs_Labyrinth/metadata.desktop
2008-11-02 13:16:59 +00:00
André Wöbbeking
017171023e forwardport of rev. 878485,878776:
also an icon for the configure dialog (and its windows) is nice

svn path=/trunk/KDE/kdebase/workspace/; revision=878778
2008-11-01 19:23:41 +00:00
André Wöbbeking
4838fc287e better solution, don't change configModules()
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=878776
2008-11-01 19:20:52 +00:00
Lucas Murray
6aad669e71 Clamp shadow textures, prevents faint lines from appearing around windows.
Reimplement default shadow colours.

svn path=/trunk/KDE/kdebase/workspace/; revision=878640
2008-11-01 14:41:42 +00:00
Lucas Murray
a7d883cc5d Make Oxygen not advertise support for shadow types that it does not yet.
Fallback to default shadows if the decoration doesn't support a certain type.

svn path=/trunk/KDE/kdebase/workspace/; revision=878627
2008-11-01 14:24:20 +00:00
André Wöbbeking
a2ff31904f also an icon for the configure dialog (and its windows) is nice
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=878485
2008-11-01 12:00:07 +00:00
Albert Astals Cid
ac02cafa87 Add some context for translators
svn path=/trunk/KDE/kdebase/workspace/; revision=878368
2008-11-01 00:01:46 +00:00
Albert Astals Cid
5f7174a27e Saying
"If this was only a temporary problem, you can resume using the 'Empty' shortcut.\n"
if no shortcut is found makes no sense, reworked to avoid it

Tried my best to do correct indentation but make failed

svn path=/trunk/KDE/kdebase/workspace/; revision=878365
2008-10-31 23:54:52 +00:00
Albert Astals Cid
102be68572 we are showing the shortcut to the user so use QKeySequence::NativeText to get it translated
svn path=/trunk/KDE/kdebase/workspace/; revision=878359
2008-10-31 23:51:01 +00:00
Albert Astals Cid
6581455b93 we are showing the shortcut to the user so use QKeySequence::NativeText to get it translated
svn path=/trunk/KDE/kdebase/workspace/; revision=878357
2008-10-31 23:49:17 +00:00
Script Kiddy
647509e31d SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=878037
2008-10-31 07:17:36 +00:00
Script Kiddy
57fec6f0bb SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=877717
2008-10-30 07:38:31 +00:00
Martin Gräßlin
8f66f80789 Do not test for GLRenderTarget as it is not used.
CCMAIL: l.lunak@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=877398
2008-10-29 12:50:26 +00:00
Script Kiddy
86bb3308c9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=876968

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

M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2008-10-28 12:52:47 +00:00
Script Kiddy
76e7da423f SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=876804
2008-10-28 07:17:13 +00:00
Script Kiddy
6c9a4d198a SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=876335
2008-10-27 07:39:55 +00:00
Urs Wolfer
4503d628a6 optimizegraphics: Losslessly optimized PNG and SVGZ files with "optipng -o5" and "advdef -z -4".
Reduced disk space: 3384KB (3MB)

svn path=/trunk/KDE/kdebase/workspace/; revision=876104

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

M	wallpapers/Blue_Curl/contents/screenshot.png
M	wallpapers/Flower_drops/contents/screenshot.png
M	wallpapers/Vector_Sunset/contents/screenshot.png
2008-10-26 14:11:34 +00:00
Script Kiddy
19bfabddec SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/kstyles/; revision=876061
2008-10-26 12:36:53 +00:00
Huynh Huu Long
eadf72f60b Fix the outlined help button.
svn path=/trunk/KDE/kdebase/workspace/; revision=875775
2008-10-25 15:00:43 +00:00