Commit graph

3356 commits

Author SHA1 Message Date
Philip Falkner
bcfa67e91a Fix DesktopChangeSlide effect creation.
svn path=/branches/work/kwin_composite/; revision=631344
2007-02-07 19:21:33 +00:00
Luboš Luňák
12478151a2 Don't accidentally set _NET_ACTIVE_WINDOW to 0 when there is an active window.
And r612728 from 3.5 branch.


svn path=/trunk/KDE/kdebase/workspace/; revision=630817
2007-02-06 13:55:12 +00:00
Rivo Laks
1cdcd8956f Move OpenGL defines, function prototypes and function resolving to a separate file.
Update copyright years.

svn path=/branches/work/kwin_composite/; revision=630583
2007-02-05 19:57:05 +00:00
Rivo Laks
66d8c5030b Add GLSL shader support and GLShader class.
Add two preprocessor macros to simplify resolving of OpenGL functions.

svn path=/branches/work/kwin_composite/; revision=630553
2007-02-05 18:11:15 +00:00
Rivo Laks
de2c5223ee Split window rendering into multiple methods
svn path=/branches/work/kwin_composite/; revision=630472
2007-02-05 14:01:09 +00:00
Luboš Luňák
daa52d1b79 Updates.
svn path=/branches/work/kwin_composite/; revision=630421
2007-02-05 11:35:54 +00:00
Luboš Luňák
880158c473 Updates.
svn path=/branches/work/kwin_composite/; revision=630412
2007-02-05 11:19:22 +00:00
Luboš Luňák
00136f014f Configurable effects loading by Cedric Borgese.
svn path=/branches/work/kwin_composite/; revision=630276
2007-02-04 22:19:17 +00:00
Luboš Luňák
35206efd25 Managed clients may be also in the 'desktop's list.
svn path=/branches/work/kwin_composite/; revision=629751
2007-02-03 17:14:13 +00:00
Luboš Luňák
6f8de578b4 From trunk: desktopResized() is called only after the desktop is resized.
svn path=/branches/work/kwin_composite/; revision=629749
2007-02-03 17:09:10 +00:00
Philip Falkner
f060c3bfbb Improved filtering algorithm. Now fast filtering is used by default, while (depending on SmoothScale in kwinrc) bilinear filtering is used on transformed windows and screens.
Optionally, if SmoothScale is set to 2, trilinear filtering will be attempted instead of bilinear.  This requires GL_ARB_texture_non_power_of_two, GL_EXT_framebuffer_object, and valid mipmaps.

svn path=/branches/work/kwin_composite/; revision=629453
2007-02-02 19:58:35 +00:00
Philip Falkner
66d796002f Add basic mipmapping support for OpenGL; by itself this doesn't do much, but allows further capabilities.
svn path=/branches/work/kwin_composite/; revision=629452
2007-02-02 19:56:18 +00:00
Philip Falkner
1e2d811cea Add support for GL_EXT_framebuffer_object, needed for mipmaps.
svn path=/branches/work/kwin_composite/; revision=629450
2007-02-02 19:55:17 +00:00
Luboš Luňák
2dce2b7f26 Updates.
svn path=/branches/work/kwin_composite/; revision=629384
2007-02-02 15:31:57 +00:00
Luboš Luňák
4e20ef71e4 r629143 was supposed to go to trunk, kwin_composite is only for compositing work.
svn path=/trunk/KDE/kdebase/workspace/; revision=629362
2007-02-02 14:24:00 +00:00
Luboš Luňák
63a97b7d3d Add DesktopChangeSlideEffect, an effect that on virtual desktop
change slides the old desktop out and the new one in. Should not
be really technically different from the cube.


svn path=/branches/work/kwin_composite/; revision=629163
2007-02-01 17:20:48 +00:00
Luboš Luňák
904fd1e3d0 Match handling of PAINT_WINDOW_DISABLED.
svn path=/branches/work/kwin_composite/; revision=629154
2007-02-01 16:23:44 +00:00
Dirk Mueller
b34d4ac7c4 xrandr support (hopefully this compiles, can't test here)
svn path=/branches/work/kwin_composite/; revision=629143
2007-02-01 15:39:44 +00:00
Simon Hausmann
992f2ee6b9 Don't crash due to a missing Q_OBJECT macro
svn path=/trunk/KDE/kdebase/workspace/; revision=629104
2007-02-01 11:40:13 +00:00
Philip Falkner
949c71490b Add some missing texture_from_pixmap defines.
svn path=/branches/work/kwin_composite/; revision=628843
2007-01-31 17:56:08 +00:00
Philip Falkner
8fe5ec7709 Use glXGetFBConfigs instead of glXChooseFBConfig.
This makes texture_from_pixmap mode work in more places.

svn path=/branches/work/kwin_composite/; revision=628804
2007-01-31 14:32:52 +00:00
Philip Falkner
45aeae3273 Merge from trunk (now it should build)
r581402:
 Not used.
r628276:
 merge the kinstance-redesign branch
r628350:
 This directory doesn't exist on my computer :)

svn path=/branches/work/kwin_composite/; revision=628706
2007-01-30 23:57:40 +00:00
Philip Falkner
eff415afbd Merge from trunk
r560630:
 ported to new snapshot
r564554:
 - make the KCMs services
 - use KGenericFactory (the construction code could be cleaned up some more)
r564565:
 - KGenericFactory
 - make 'em services

svn path=/branches/work/kwin_composite/; revision=628704
2007-01-30 23:51:42 +00:00
Luboš Luňák
77719858b0 Damage also the old area on geometry changes.
svn path=/branches/work/kwin_composite/; revision=628608
2007-01-30 16:52:05 +00:00
Luboš Luňák
7cb649edcb Tell scene about size changes.
svn path=/branches/work/kwin_composite/; revision=628606
2007-01-30 16:49:08 +00:00
Luboš Luňák
908ec070a9 Discard vertices on size change.
svn path=/branches/work/kwin_composite/; revision=628605
2007-01-30 16:42:03 +00:00
Luboš Luňák
43d393429d A window can be trasformed also by transforming the whole screen.
svn path=/branches/work/kwin_composite/; revision=628601
2007-01-30 16:36:53 +00:00
Rivo Laks
26e907c210 Merge MAKE_*_VERSION macros into MAKE_GL_VERSION and move it to .cpp file
svn path=/branches/work/kwin_composite/; revision=628353
2007-01-29 21:06:56 +00:00
Laurent Montel
8d01ae32ea This directory doesn't exist on my computer :)
svn path=/trunk/KDE/kdebase/workspace/; revision=628350
2007-01-29 20:55:50 +00:00
Rivo Laks
cc93b859e3 Make Client::iconGeometry() recursively use it's mainwindow's icongeometry if it
doesn't have one itself.

svn path=/branches/work/kwin_composite/; revision=628327
2007-01-29 19:28:53 +00:00
Matthias Kretz
3003c4ecf8 merge the kinstance-redesign branch back to trunk.
svn path=/trunk/KDE/kdebase/workspace/; revision=628276
2007-01-29 17:14:20 +00:00
Luboš Luňák
409ceae7ff SHM does not support all color depths.
svn path=/branches/work/kwin_composite/; revision=628226
2007-01-29 15:22:29 +00:00
Luboš Luňák
2324e92b4e The workaround with explicitly asking for texture target with tfp
doesn't seem to be necessary.


svn path=/branches/work/kwin_composite/; revision=628209
2007-01-29 14:32:20 +00:00
Luboš Luňák
e0ed5d5f3f Move raster position relatively using glBitmap() rather
than using glRasterPos2f() - the latter causes drawing
artefacts at the bottom screen edge with some gfx cards


svn path=/branches/work/kwin_composite/; revision=627525
2007-01-26 22:50:31 +00:00
Rivo Laks
8669b298be Minimize e.g. dialogs onto taskbar entries of their mainwindows.
If everything else fails, minimize to the center of the screen.

svn path=/branches/work/kwin_composite/; revision=627172
2007-01-25 21:23:27 +00:00
Luboš Luňák
29b8d42e55 Damage screen when stacking order changes.
svn path=/branches/work/kwin_composite/; revision=627103
2007-01-25 17:42:53 +00:00
Luboš Luňák
65d5eaf9b8 FadeIn and FadeOut should be somewhen merged.
svn path=/branches/work/kwin_composite/; revision=627079
2007-01-25 16:39:42 +00:00
Rivo Laks
445ab8ca7a Add MinimizeAnimation effect which makes the window move onto/from its taskbar
entry when minimized/restored

svn path=/branches/work/kwin_composite/; revision=627003
2007-01-25 11:48:07 +00:00
Luboš Luňák
93de3d41d0 Add WavyWindowsEffect.
svn path=/branches/work/kwin_composite/; revision=626899
2007-01-24 21:46:43 +00:00
Philip Falkner
0341a3e8b5 Add support for GL_ARB_texture_non_power_of_two. Use GL_TEXTURE_2D wherever possible, even when that extension isn't available.
svn path=/branches/work/kwin_composite/; revision=626897
2007-01-24 21:35:58 +00:00
Rivo Laks
798d437e03 Add iconGeometry() method to Client.
It returns rectangle of the taskbar entry of the window.

svn path=/branches/work/kwin_composite/; revision=626867
2007-01-24 20:15:38 +00:00
Rivo Laks
a00b314b5a Temporarily-unminimize hack doesn't seem to be necessary anymore.
Use transparency for minimized windows in the fade-in and fade-out phases (when
  the effect is not fully active yet)

svn path=/branches/work/kwin_composite/; revision=626829
2007-01-24 17:43:36 +00:00
Rivo Laks
adb35ae446 Adding WavyWindows effect which makes all windows wavy.
Meant to demonstrate possibilities of vertex transforming and for cool screenshots ;-)

svn path=/branches/work/kwin_composite/; revision=626815
2007-01-24 17:19:00 +00:00
Luboš Luňák
e5f5ecf22e Handle a fixme.
KWin's debug area is 1212.
CCMAIL: Rivo Laks <rivolaks@hot.ee>


svn path=/branches/work/kwin_composite/; revision=626743
2007-01-24 14:26:04 +00:00
Luboš Luňák
f9555cf69e Revert r427993 (#106013) as it causes #140023.
BUG: 140023


svn path=/trunk/KDE/kdebase/workspace/; revision=626731
2007-01-24 13:49:28 +00:00
Rivo Laks
c2830a6360 Effects can now request windows to be subdivided into multiple quads.
Effects also get access to window's vertices. This can be used to change shape of
  the window, e.g. for wobble effect

svn path=/branches/work/kwin_composite/; revision=626706
2007-01-24 11:51:38 +00:00
Luboš Luňák
0ae5a772e7 Add EffectWindow as a window representation for effects,
to hide the change from Client/Unmanaged and eventually also
act as the only API available to effects.


svn path=/branches/work/kwin_composite/; revision=626360
2007-01-22 22:57:22 +00:00
Luboš Luňák
e8147c2244 Instead of the somewhat fragile way of trying to clean up Client/Unmanaged
instances and keeping them around after the window is closed, create
class Deleted as a representation of a closed window.
(Why do I always forget 'svn add'?)


svn path=/branches/work/kwin_composite/; revision=626357
2007-01-22 22:52:42 +00:00
Luboš Luňák
77f803a563 Instead of the somewhat fragile way of trying to clean up Client/Unmanaged
instances and keeping them around after the window is closed, create
class Deleted as a representation of a closed window.


svn path=/branches/work/kwin_composite/; revision=626356
2007-01-22 22:51:30 +00:00
Michel Hermier
0fdc6c4469 #625468 ported to KDE4
svn path=/trunk/KDE/kdebase/workspace/; revision=625469
2007-01-20 09:56:57 +00:00