Commit graph

19062 commits

Author SHA1 Message Date
Luboš Luňák
04d5294afa Merging from old trunk:
r573246 | lunakl | 2006-08-15 14:48:37 +0200 (Tue, 15 Aug 2006) | 3 lines

Fix compilation with older XShape (#132310).


svn path=/trunk/KDE/kdebase/workspace/; revision=659279
2007-04-29 21:38:44 +00:00
Luboš Luňák
638de5e338 Build.
svn path=/trunk/KDE/kdebase/workspace/; revision=659276
2007-04-29 21:28:06 +00:00
Philip Falkner
630f5793dc Update SHM mode.
For 16bpp pixmaps, we use GL_RGB and GL_UNSIGNED_SHORT_5_6_5 with
glTex(Sub)Image2D, which means that SHM mode works with 16bpp X
servers.

Also, only create one XShmPixmap per damaged pixmap, instead of one
per (optimised) damage rectangle.  Now we can use GL_RGB textures for
24bpp pixmaps, just like fallback mode does and tfp mode can.


svn path=/trunk/KDE/kdebase/workspace/; revision=659274
2007-04-29 21:22:49 +00:00
Luboš Luňák
5feb577369 Merging from old trunk:
r571712 | lunakl | 2006-08-10 15:15:16 +0200 (Thu, 10 Aug 2006) | 3 lines

Support for input shape from XShape1.1 (#122425).


svn path=/trunk/KDE/kdebase/workspace/; revision=659272
2007-04-29 21:19:29 +00:00
Luboš Luňák
12d97dbd49 Merging from old trunk:
r569382 | lunakl | 2006-08-03 19:32:36 +0200 (Thu, 03 Aug 2006) | 4 lines

Be explicit about the screenshots being in clipboard
(CCBUG: 131789)


svn path=/trunk/KDE/kdebase/workspace/; revision=659270
2007-04-29 21:04:53 +00:00
Luboš Luňák
17182b9ccb Merging from old trunk:
r568991 | lunakl | 2006-08-02 18:27:34 +0200 (Wed, 02 Aug 2006) | 4 lines

Argh, order the checks properly, it wasn't detecting
correctly some cases when windows should belong together.


svn path=/trunk/KDE/kdebase/workspace/; revision=659268
2007-04-29 21:04:13 +00:00
Luboš Luňák
3dbb6fba21 Merging from old trunk:
r568105 | lunakl | 2006-07-31 07:06:00 +0200 (Mon, 31 Jul 2006) | 3 lines

I really don't like playing hide and seek with {}'s.


svn path=/trunk/KDE/kdebase/workspace/; revision=659265
2007-04-29 21:00:59 +00:00
Luboš Luňák
c224ad6118 Merging from old trunk:
r566160 | mlaurent | 2006-07-25 17:20:44 +0200 (Tue, 25 Jul 2006) | 2 lines

Clean up


svn path=/trunk/KDE/kdebase/workspace/; revision=659263
2007-04-29 20:58:02 +00:00
Luboš Luňák
ea07e100b4 Merging from old trunk:
r565957 | winterz | 2006-07-25 00:17:55 +0200 (Tue, 25 Jul 2006) | 3 lines

install_files() -> install(FILES..)
also use variables in a few more places


svn path=/trunk/KDE/kdebase/workspace/; revision=659262
2007-04-29 20:56:31 +00:00
Luboš Luňák
73ce957bad Merging from old trunk:
r565833 | winterz | 2006-07-24 18:02:07 +0200 (Mon, 24 Jul 2006) | 2 lines

use library variables, where possible.


svn path=/trunk/KDE/kdebase/workspace/; revision=659261
2007-04-29 20:55:58 +00:00
Luboš Luňák
25adb0541d Merging from old trunk:
r564551 | mkretz | 2006-07-20 15:12:03 +0200 (Thu, 20 Jul 2006) | 2 lines

that include is not needed


svn path=/trunk/KDE/kdebase/workspace/; revision=659259
2007-04-29 20:48:51 +00:00
Luboš Luňák
bb867a2213 Merging from old trunk:
r564550 | mkretz | 2006-07-20 15:11:46 +0200 (Thu, 20 Jul 2006) | 3 lines

toAscii() only returns a temporary QByteArray, the QPixmap ctor would crash for
me: keep the QByteArray until all three pixmaps are created


svn path=/trunk/KDE/kdebase/workspace/; revision=659258
2007-04-29 20:47:53 +00:00
Luboš Luňák
d8439e8543 Merging from old trunk:
r564549 | mlaurent | 2006-07-20 15:08:26 +0200 (Thu, 20 Jul 2006) | 2 lines

Replace all bin by ${BIN_INSTALL_DIR}


svn path=/trunk/KDE/kdebase/workspace/; revision=659256
2007-04-29 20:46:45 +00:00
Luboš Luňák
6ae86ca391 Merging from old trunk:
r564035 | coolo | 2006-07-19 08:49:37 +0200 (Wed, 19 Jul 2006) | 2 lines

replace deprecated functions


svn path=/trunk/KDE/kdebase/workspace/; revision=659254
2007-04-29 20:43:58 +00:00
Pino Toscano
14d0ee83a4 extra ';'
svn path=/trunk/KDE/kdebase/workspace/; revision=659235
2007-04-29 19:03:40 +00:00
Luboš Luňák
3dfd260b8a Merging from old trunk:
r560573 | lunakl | 2006-07-10 19:07:29 +0200 (Mon, 10 Jul 2006) | 3 lines

Not needed later after all.


svn path=/trunk/KDE/kdebase/workspace/; revision=659222
2007-04-29 18:21:39 +00:00
Luboš Luňák
b201ca13e8 Merging from old trunk:
r559171 | bmeyer | 2006-07-06 20:08:14 +0200 (Thu, 06 Jul 2006) | 1 line

remove line that wasn't suppost to be there.


svn path=/trunk/KDE/kdebase/workspace/; revision=659221
2007-04-29 18:18:48 +00:00
Luboš Luňák
afb0e7f5eb Merging from old trunk:
r559169 | bmeyer | 2006-07-06 20:01:52 +0200 (Thu, 06 Jul 2006) | 1 line

fix link opening


svn path=/trunk/KDE/kdebase/workspace/; revision=659220
2007-04-29 18:18:08 +00:00
Luboš Luňák
f82685de38 Merging from old trunk:
r558891 | dfaure | 2006-07-06 11:15:57 +0200 (Thu, 06 Jul 2006) | 3 lines
Register as org.kde.kwin   (in addition to kapplication registering us as kwin_$PID)
Not sure why this isn't a kuniqueapplication though (but klauncher is in the same situation anyway)


svn path=/trunk/KDE/kdebase/workspace/; revision=659219
2007-04-29 18:16:15 +00:00
Luboš Luňák
3134929db3 merge from old trunk:
r558694 | bmeyer
port from KActiveLabel -> QLabel


svn path=/trunk/KDE/kdebase/workspace/; revision=659215
2007-04-29 18:11:44 +00:00
Luboš Luňák
f52b8e48cd branches/work/kwin_composite becomes new trunk kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
2007-04-29 17:35:43 +00:00
Luboš Luňák
2b7e1f4993 Remove kwin, kwin_composite will become new trunk kwin, missing merges
from trunk will be merged in.


svn path=/trunk/KDE/kdebase/workspace/; revision=659200
2007-04-29 17:34:49 +00:00
Luboš Luňák
b52cf90c6a Post calls may not be necessary anymore.
svn path=/branches/work/kwin_composite/; revision=659195
2007-04-29 17:17:26 +00:00
Rivo Laks
91f795922d Make Liquid effect work without NPOT textures as well.
svn path=/branches/work/kwin_composite/; revision=659161
2007-04-29 15:53:56 +00:00
Rivo Laks
49a56dc905 Make blur effect work even when NPOT textures are not supported by using a larger power-of-two
texture. It wastes some memory but at least it works.

svn path=/branches/work/kwin_composite/; revision=659159
2007-04-29 15:42:19 +00:00
Rivo Laks
a94aa904b0 Well, actually GLRenderTarget doesn't require NPOT textures (it works with rectangle textures as well).
That also means that those effects which do require NPOT have to check for it themselves.

svn path=/branches/work/kwin_composite/; revision=659155
2007-04-29 15:39:33 +00:00
Rivo Laks
17ae1620ac Little clarifying API doc for nearestPowerOfTwo().
svn path=/branches/work/kwin_composite/; revision=659150
2007-04-29 15:31:57 +00:00
Rivo Laks
72f2d412c1 Add blur effect.
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
2007-04-28 15:13:28 +00:00
Rivo Laks
f00d1745ed Add static GLRenderTarget::supported() and make effects use it instead of checking for FBO extension
themselves.
Fix memory leak in Test_FBO effect.

svn path=/branches/work/kwin_composite/; revision=658804
2007-04-28 14:38:06 +00:00
Rivo Laks
24c8663923 Add GLShader dtor (fixes memory leak).
Also fix multiple memory leaks in effects.

svn path=/branches/work/kwin_composite/; revision=658761
2007-04-28 13:19:36 +00:00
Rivo Laks
e85930ce1e prePaintWindow() calls of effects are now all done before anything is rendered. This is necessary e.g. for
upcoming blur effect.
Also postPaintScreen() is now called after postPaintWindow() calls.

svn path=/branches/work/kwin_composite/; revision=658757
2007-04-28 13:02:51 +00:00
Rivo Laks
6e62dcb922 Add GLTexture::setWrapMode() call to set texture's OpenGL wrap mode.
Liquid demo effect now sets wrap mode to CLAMP to ensure that the texture won't wrap at edges
  of the screen, which would make other side of the screen visible there.

svn path=/branches/work/kwin_composite/; revision=658748
2007-04-28 12:25:54 +00:00
Rivo Laks
9342f6902c Add EffectWindow::isPaintingEnabled() to check whether painting of that window is enabled (surprise!)
svn path=/branches/work/kwin_composite/; revision=658747
2007-04-28 12:21:14 +00:00
Luboš Luňák
118a15c3d7 Remove exceptions for Mozilla apps and OOo - they can handle
focus stealing prevention somewhat better.


svn path=/trunk/KDE/kdebase/workspace/; revision=658520
2007-04-27 15:10:23 +00:00
Dirk Mueller
e218e7e01d move the "To Desktop" menu to the right place again
instead of just appending it

svn path=/trunk/KDE/kdebase/workspace/; revision=657251
2007-04-23 16:49:41 +00:00
Script Kiddy
fc27b480d8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=657060

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

M	wallpapers/All-Good-People-1.jpg.desktop
M	wallpapers/Chicken-Songs-2.jpg.desktop
M	wallpapers/KDE34.png.desktop
M	wallpapers/No-Ones-Laughing-3.jpg.desktop
M	wallpapers/Time-For-Lunch-2.jpg.desktop
M	wallpapers/Totally-New-Product-1.jpg.desktop
M	wallpapers/Won-Ton-Soup-3.jpg.desktop
M	wallpapers/blue-bend.jpg.desktop
M	wallpapers/celtic.svgz.desktop
M	wallpapers/default_blue.jpg.desktop
M	wallpapers/default_gears.jpg.desktop
M	wallpapers/floating-leaves.jpg.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
M	wallpapers/kde_box.png.desktop
M	wallpapers/lineart.svgz.desktop
M	wallpapers/moon.svgz.desktop
M	wallpapers/seaofconero.jpg.desktop
M	wallpapers/soft-green.jpg.desktop
M	wallpapers/sunshine-after-the-rain.jpg.desktop
M	wallpapers/triplegears.jpg.desktop
2007-04-23 05:35:29 +00:00
Luboš Luňák
56e5618f0e Round values, don't just truncate.
svn path=/branches/work/kwin_composite/; revision=656976
2007-04-22 21:22:05 +00:00
Luboš Luňák
98a7c3da6a Fix repaints.
svn path=/branches/work/kwin_composite/; revision=656793
2007-04-22 11:41:09 +00:00
Luboš Luňák
c7956a951a Repaint also frame.
svn path=/branches/work/kwin_composite/; revision=656786
2007-04-22 11:24:37 +00:00
Luboš Luňák
3f5213101d Actually use the old position.
svn path=/branches/work/kwin_composite/; revision=656780
2007-04-22 11:18:51 +00:00
Laurent Montel
67f6750ab3 Remove not necessary include
svn path=/trunk/KDE/kdebase/workspace/; revision=656776
2007-04-22 11:14:24 +00:00
Luboš Luňák
8005bb6db6 Limit the capturing region to the screen.
svn path=/branches/work/kwin_composite/; revision=656772
2007-04-22 10:52:55 +00:00
Laurent Montel
2178c6dc31 Include fix
svn path=/trunk/KDE/kdebase/workspace/; revision=656565
2007-04-21 18:28:47 +00:00
Luboš Luňák
bf29f2c3e1 Effect which can temporarily mark places on the screen.
svn path=/branches/work/kwin_composite/; revision=656547
2007-04-21 17:12:17 +00:00
Luboš Luňák
ffc75a2214 GLTexture::render(), to render to a given QRect
svn path=/branches/work/kwin_composite/; revision=656521
2007-04-21 16:12:03 +00:00
Luboš Luňák
cd98bc12d5 Shared implementation of rendering gl geometry.
svn path=/branches/work/kwin_composite/; revision=656516
2007-04-21 16:02:19 +00:00
Rivo Laks
ec29f33832 Make enable/disableUnnormalizedTexCoords() work with custom textures (e.g. rendertarget ones).
Make texture dirty when enabling rendertarget.

svn path=/branches/work/kwin_composite/; revision=656496
2007-04-21 15:04:37 +00:00
Rivo Laks
868719ed65 Port ExplosionEffect to plugin system
svn path=/branches/work/kwin_composite/; revision=656456
2007-04-21 12:57:15 +00:00
Luboš Luňák
f43b53ef7d Trigger TrackMouseEffect using Ctrl+Meta rather than mouse buttons.
svn path=/branches/work/kwin_composite/; revision=656455
2007-04-21 12:50:02 +00:00
Luboš Luňák
b849a760ef Fix painting of moved on-all-desktop windows.
svn path=/branches/work/kwin_composite/; revision=656444
2007-04-21 12:29:43 +00:00