Commit graph

3384 commits

Author SHA1 Message Date
Laurent Montel
8f8c6d049b Fix signal/slot
svn path=/trunk/KDE/kdebase/workspace/; revision=633290
2007-02-13 18:31:54 +00:00
Luboš Luňák
944af602a7 Merge r615045 from trunk to avoid long list of annoying warnings.
svn path=/branches/work/kwin_composite/; revision=633223
2007-02-13 15:15:57 +00:00
Luboš Luňák
a5e508590a I have a strange feeling nobody will be bothered enough to spend
time with non-composited minimize/shade animations.


svn path=/branches/work/kwin_composite/; revision=633222
2007-02-13 15:11:59 +00:00
Luboš Luňák
82c96c4bc7 Implement _NET_DESKTOP_LAYOUT.
svn path=/trunk/KDE/kdebase/workspace/; revision=633205
2007-02-13 14:09:23 +00:00
Laurent Montel
43edad3e53 Compile++
svn path=/trunk/KDE/kdebase/workspace/; revision=633102
2007-02-13 08:03:40 +00:00
Dirk Mueller
6883415ff4 KListBox->K3ListBox
svn path=/branches/work/kwin_composite/; revision=633055
2007-02-13 00:27:24 +00:00
Philip Falkner
a71753e5cd Change effects->windowOpacityChanged to also pass the old opacity; thanks Lubos!
Clean up FadeEffect a bit, and make it replace FadeOut in the default effects list.

svn path=/branches/work/kwin_composite/; revision=633032
2007-02-12 23:14:50 +00:00
Robert Knight
f3fb636b33 * Port KListBox to KListWidget
* Port all usage of Q3ListBox / Q3ListBoxItem to QListWidget / QListWidgetItem


svn path=/trunk/KDE/kdebase/workspace/; revision=632958
2007-02-12 19:39:15 +00:00
Luboš Luňák
5e8b2465b4 Still some kompmgr code removal.
svn path=/branches/work/kwin_composite/; revision=632900
2007-02-12 16:45:16 +00:00
Luboš Luňák
4019dff500 Distinguish between damage and repaints - damage is when windows contents
change, repaint just triggers repaint of the area (without e.g. the texture
updating for OpenGL).
addDamage() -> addRepaint()
CCMAIL: kwin@kde.org


svn path=/branches/work/kwin_composite/; revision=632866
2007-02-12 15:22:43 +00:00
Laurent Montel
c65b031e94 compile
svn path=/trunk/KDE/kdebase/workspace/; revision=632855
2007-02-12 14:28:50 +00:00
Luboš Luňák
36afaf2efc Merge r632199 from kwin_composite.
svn path=/trunk/KDE/kdebase/workspace/; revision=632843
2007-02-12 13:29:36 +00:00
Luboš Luňák
559f90a06a Damage also new position after moving.
svn path=/branches/work/kwin_composite/; revision=632609
2007-02-11 18:46:50 +00:00
Luboš Luňák
9704203415 More geometry accessors in wrapper classes.
svn path=/branches/work/kwin_composite/; revision=632603
2007-02-11 18:36:57 +00:00
Luboš Luňák
47f5535e6a Make the tabbox also show when compositing.
svn path=/branches/work/kwin_composite/; revision=632602
2007-02-11 18:36:10 +00:00
Philip Falkner
2fdc57ccd6 Fade effect. Unified version of FadeIn and FadeOut; also fades on window opacity changes.
The fade_in_speed and fade_out_speed settings work like they did in kompmgr, but aren't currently configurable.

svn path=/branches/work/kwin_composite/; revision=632583
2007-02-11 17:41:21 +00:00
Philip Falkner
8d0f15e655 Hook up windowOpacityChanged for effects. Note that this only affects when the window opacity atom is changed; if an effect alters data.opacity in WindowPaintData, no notification will happen.
svn path=/branches/work/kwin_composite/; revision=632582
2007-02-11 17:38:56 +00:00
Philip Falkner
c16656d66d Rework how window painting is disabled; now effects can indicate reasons they want particular windows painted or not.
This solves a few problems, but may need revisiting in the future.

svn path=/branches/work/kwin_composite/; revision=632581
2007-02-11 17:36:32 +00:00
Philip Falkner
949aa1a778 Add PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS flag, to be called by effects in prePaintScreen(). Indicates that some window(s) may have transformed geometry, so the whole screen should be repainted.
svn path=/branches/work/kwin_composite/; revision=632580
2007-02-11 17:35:10 +00:00
Luboš Luňák
24eacc4908 Move NETWinInfo and few more things from Client to the base class.
svn path=/branches/work/kwin_composite/; revision=632380
2007-02-10 21:56:24 +00:00
Luboš Luňák
0a9e366038 Just use findModal().
svn path=/branches/work/kwin_composite/; revision=632379
2007-02-10 21:55:31 +00:00
Luboš Luňák
6c9d910d7f Avoid decoration redraw delays. On resize Qt sets WA_WStateConfigPending
which delays all painting until a matching ConfigureNotify event comes.
But this process itself is the window manager, so it's not needed
to wait for that event, the geometry is known.
CCBUG: 134739


svn path=/branches/work/kwin_composite/; revision=632378
2007-02-10 21:55:00 +00:00
Luboš Luňák
1397ebb5eb No double-buffering for decorations, the memory taken
by such backing pixmaps would be quite noticeable.


svn path=/branches/work/kwin_composite/; revision=632377
2007-02-10 21:50:43 +00:00
Luboš Luňák
bb5f7a9519 Compress damage events.
svn path=/branches/work/kwin_composite/; revision=632376
2007-02-10 21:49:57 +00:00
Philip Falkner
ca856c28e1 Fix compositing repaint bug where moving a window would not draw properly (especially noticeable when snapping to a border).
svn path=/branches/work/kwin_composite/; revision=632339
2007-02-10 18:28:04 +00:00
Dirk Mueller
6c224134db porting simplifications regarding KConfig::readEntry
svn path=/branches/work/kwin_composite/; revision=632199
2007-02-10 09:12:35 +00:00
Luboš Luňák
5f3dd60aa1 Updates.
svn path=/branches/work/kwin_composite/; revision=631899
2007-02-09 12:47:06 +00:00
Dirk Mueller
21fdff0045 pedantic--
svn path=/branches/work/kwin_composite/; revision=631658
2007-02-08 17:44:10 +00:00
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