Commit graph

3600 commits

Author SHA1 Message Date
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
Robert Knight
a23a2fafa5 Use relative path to reference KWin build directory. Fixes compilation when 'kwin_composite' branch is checked out into local 'kdebase/workspace' folder with a name other than 'kwin'
svn path=/branches/work/kwin_composite/; revision=656442
2007-04-21 12:26:18 +00:00
Luboš Luňák
371dfdbede MMB toggles on-all-desktops.
svn path=/branches/work/kwin_composite/; revision=656437
2007-04-21 12:15:43 +00:00
Luboš Luňák
0040bb699b Better painting of moved window.
svn path=/branches/work/kwin_composite/; revision=656410
2007-04-21 10:26:02 +00:00
Rivo Laks
7250a8edcd Support having multiple rendertarget-using effects active at once
svn path=/branches/work/kwin_composite/; revision=656210
2007-04-20 15:53:30 +00:00
Laurent Montel
1adecf7737 Fix install icons
Fix install lib under x86_64
Fix install include (remove deprecated cmake macro)
Cleanup

svn path=/branches/work/kwin_composite/; revision=655792
2007-04-19 11:52:53 +00:00
Laurent Montel
dffec970af Not necessary
svn path=/trunk/KDE/kdebase/workspace/; revision=655789
2007-04-19 11:43:29 +00:00
Stephan Binner
86f29721dc SVN_SILENT i18n style guide fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=655709
2007-04-19 05:39:44 +00:00
Rivo Laks
e979de43fb Another demo effect which uses shader and render target to turn your screen into a liquid, wavy surface.
Soon we'll have more silly effects than Beryl/Compiz ;-)

svn path=/branches/work/kwin_composite/; revision=655575
2007-04-18 19:44:49 +00:00
Rivo Laks
e93ce53928 Oops
svn path=/branches/work/kwin_composite/; revision=655501
2007-04-18 15:45:34 +00:00
Rivo Laks
7a5415ecdb Add a demo/test effect for GLRenderTarget.
It renders a small rotating thumbnail of the scene in the middle of the screen.

svn path=/branches/work/kwin_composite/; revision=655498
2007-04-18 15:42:06 +00:00
Rivo Laks
cc1a7a9eca Add GLRenderTarget class.
The render target is used to render the scene (or part of it) onto texture. This texture can then be used
  e.g. to do some postprocessing.
  Demo effect coming soon.

Move checkGLError() to kwineffects.*
Add GLTexture ctor which takes width and height and creates an empty texture (to be used with
  GLRenderTarget to render onto it)

svn path=/branches/work/kwin_composite/; revision=655489
2007-04-18 15:22:13 +00:00
Rivo Laks
1af89da210 Add #defines for FBO constants.
Fix glCheckFramebufferStatus function prototype (it returns GLenum, not void).

svn path=/branches/work/kwin_composite/; revision=655462
2007-04-18 14:02:33 +00:00