Commit Graph

139 Commits (95c8ba203588bad26f38326fbbb2d8f3058e1295)

Author SHA1 Message Date
Lucas Murray b2ef4eac11 Remove outdated/duplicated points. Little bit of resorting as well.
svn path=/trunk/KDE/kdebase/workspace/; revision=862322
2008-09-18 15:43:48 +00:00
Luboš Luňák 2a87593638 Add a global configuration option for animation speed. See description
of Effect::animationTime() for how-to-use.
TODO: Effects need to reload config after doing the change in the kcm.
NOTE: Default TimeLine constructor now creates invalid object, it is
necessary to explicitly call setDuration() in order to ensure all
animations respect this setting.

CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=854690
2008-08-30 07:25:54 +00:00
Luboš Luňák fd2e9b54cb Funny how awesome ideas are often so awfully simple. Test whether compositing
really works by simply trying to do it and test the result - create a small
testing window with known content, do the same with it like with normal
windows, grab the screen contents, compare with the original, doesn't match? -> fail.
It still would be nice to have something similar for performance.


svn path=/trunk/KDE/kdebase/workspace/; revision=854549
2008-08-29 19:02:36 +00:00
Luboš Luňák 15ff73fabb I heard this interesting idea that the panel could show window previews directly,
without tooltips.


svn path=/trunk/KDE/kdebase/workspace/; revision=853780
2008-08-28 09:33:31 +00:00
Lucas Murray fe4c100195 Improved the desktop grid effect.
FEATURE: 163104, 167265, 168557
CCBUG: 156247, 157196, 158787

svn path=/trunk/KDE/kdebase/workspace/; revision=845893
2008-08-12 15:22:06 +00:00
Luboš Luňák 63b01aff5d Rework handling of mapping and unmapping windows, in particular:
- the NormalState/IconicState things in ICCCM need to match exactly
  the real mapping state, so ensure that, no matter how superfluous that is
- extend the option for having live window previews either for all
  windows or for only all shown windows (default)
FEATURE: 163385


svn path=/trunk/KDE/kdebase/workspace/; revision=845772
2008-08-12 11:02:58 +00:00
Luboš Luňák 022d2066c6 Implement fake brightness by overlaying black over the window.
Makes Logout or DimInactive effects work in XRender mode too.


svn path=/trunk/KDE/kdebase/workspace/; revision=805577
2008-05-08 19:08:05 +00:00
Luboš Luňák 62d2631422 EffectsHandler::saturationSupported(), so that this is not OpenGL-only call.
svn path=/trunk/KDE/kdebase/workspace/; revision=805574
2008-05-08 19:06:28 +00:00
Luboš Luňák 8eeb53c9ef Note about improving BC when the times.
svn path=/trunk/KDE/kdebase/workspace/; revision=805573
2008-05-08 19:05:34 +00:00
Luboš Luňák 6142ecbfe0 paintTransformedScreen() is broken, disable its usage.
svn path=/trunk/KDE/kdebase/workspace/; revision=805050
2008-05-07 12:54:23 +00:00
Luboš Luňák 2f8d2751a1 Fix handling of stacking order of unmanaged windows. Could maybe use a little
bit more of optimization.
BUG: 157878


svn path=/trunk/KDE/kdebase/workspace/; revision=800581
2008-04-24 12:53:03 +00:00
Luboš Luňák 1927a283b3 Cache window quads since they usually don't change and this gives
few fps.


svn path=/trunk/KDE/kdebase/workspace/; revision=787978
2008-03-20 11:17:50 +00:00
Luboš Luňák 933a5cfe5c How can I mistype and fix a word three times in a row :( ?
svn path=/trunk/KDE/kdebase/workspace/; revision=765924
2008-01-24 22:04:07 +00:00
Luboš Luňák 1c499b60fe DesktopGrid improvements/fixes.
(http://www.kdedevelopers.org/node/3223#comment-7130)


svn path=/trunk/KDE/kdebase/workspace/; revision=765920
2008-01-24 21:51:35 +00:00
Luboš Luňák c317d99806 Updates.
svn path=/trunk/KDE/kdebase/workspace/; revision=756799
2008-01-03 19:54:36 +00:00
Luboš Luňák bc5acf8268 Shaped shadows are not implemented yet, so disable shadows completely
for shaped windows.


svn path=/trunk/KDE/kdebase/workspace/; revision=756795
2008-01-03 19:39:18 +00:00
Luboš Luňák 41cf67e4e5 Updates.
svn path=/trunk/KDE/kdebase/workspace/; revision=756779
2008-01-03 19:01:24 +00:00
Luboš Luňák f293b965c6 Taskbar thumbnail is kind of ready for 4.0.
svn path=/trunk/KDE/kdebase/workspace/; revision=756640
2008-01-03 14:03:08 +00:00
Luboš Luňák 6e002eabf3 We should do some release notes for 4.0.
svn path=/trunk/KDE/kdebase/workspace/; revision=756598
2008-01-03 13:02:27 +00:00
Luboš Luňák 556db40ad2 Maybe we could try harder to suspend when possible.
svn path=/trunk/KDE/kdebase/workspace/; revision=755993
2008-01-02 15:29:44 +00:00
Luboš Luňák 76c76f585d Don't apply DimInactive effect to override-redirect windows. Things
like popups should be short-lived and mostly for the active window anyway.
Possibly could be revisited in the future when support for window grouping
for unmanaged windows gets implemented too.
BUG: 154009


svn path=/trunk/KDE/kdebase/workspace/; revision=755987
2008-01-02 15:17:58 +00:00
Luboš Luňák e70c1f5c1b I think zoom would be much more useful if wheel could control it.
svn path=/trunk/KDE/kdebase/workspace/; revision=750047
2007-12-18 15:33:28 +00:00
Luboš Luňák 452888fcd5 Taskbar now has _NET_WM_ICON_GEOMETRY.
svn path=/trunk/KDE/kdebase/workspace/; revision=750041
2007-12-18 15:20:58 +00:00
Luboš Luňák c7442deb32 Updates.
svn path=/trunk/KDE/kdebase/workspace/; revision=749636
2007-12-17 14:33:33 +00:00
Luboš Luňák bb97953656 Hacks for specific driver systems:
- setting LIBGL_ALWAYS_INDIRECT=1, as that seems to be required for texture_from_pixmap
    to work with AIGLX
- setting __GL_YIELD=NOTHING to noticeably improve smoothness with nVidia


svn path=/trunk/KDE/kdebase/workspace/; revision=749631
2007-12-17 14:19:41 +00:00
Luboš Luňák d43b34aa0b Remove old comments.
svn path=/trunk/KDE/kdebase/workspace/; revision=749629
2007-12-17 14:15:32 +00:00
Luboš Luňák bb433ac40e No longer include config*.h files in installed headers.
Also slightly redo the #define's for effects, now it's:
- #ifdef KWIN_HAVE_COMPOSITING to check whether there's any compositing support at all
- #ifdef KWIN_HAVE_OPENGL_COMPOSITING to check for OpenGL-based compositing
- #ifdef KWIN_HAVE_XRENDER_COMPOSITING the same for XRender
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=749628
2007-12-17 14:14:53 +00:00
Luboš Luňák 44cc93170d Add check for effect version to prevent loading of incompatible plugins.
Should work automagically, not changes in plugins needed.


svn path=/trunk/KDE/kdebase/workspace/; revision=749626
2007-12-17 14:10:21 +00:00
Luboš Luňák a683143148 Binding windows after virtual desktop switch can make things slow.
svn path=/trunk/KDE/kdebase/workspace/; revision=741858
2007-11-26 15:53:58 +00:00
Luboš Luňák 464145428c Update.
svn path=/trunk/KDE/kdebase/workspace/; revision=739331
2007-11-20 21:38:29 +00:00
Luboš Luňák 157d885893 Update.
svn path=/trunk/KDE/kdebase/workspace/; revision=739262
2007-11-20 19:05:04 +00:00
Luboš Luňák 6cf0a9599e Update.
svn path=/trunk/KDE/kdebase/workspace/; revision=739098
2007-11-20 14:12:17 +00:00
Rivo Laks 062286d273 Updates
svn path=/trunk/KDE/kdebase/workspace/; revision=727717
2007-10-21 14:52:37 +00:00
Luboš Luňák 22995b80e7 I take that back about libIndirectGL - it's the indirect rendering that makes it smooth,
even without the library.


svn path=/trunk/KDE/kdebase/workspace/; revision=727077
2007-10-19 17:00:37 +00:00
Luboš Luňák 745d101733 Disable hidden previews, they are still a bit buggy (wrong focus after desktop change).
svn path=/trunk/KDE/kdebase/workspace/; revision=726698
2007-10-18 16:23:18 +00:00
Luboš Luňák a4125605ee Add a note about libIndirectGL.
svn path=/trunk/KDE/kdebase/workspace/; revision=724554
2007-10-12 16:30:22 +00:00
Rivo Laks 9000fb0ec3 Updates
svn path=/trunk/KDE/kdebase/workspace/; revision=714744
2007-09-20 13:28:33 +00:00
Luboš Luňák 2bbdc3874e showfps should also have a graph showing how much of the screen is redraw, to detect too big redraws
svn path=/trunk/KDE/kdebase/workspace/; revision=708376
2007-09-04 17:27:40 +00:00
Luboš Luňák 228928d45e Updates.
svn path=/trunk/KDE/kdebase/workspace/; revision=707978
2007-09-03 14:24:29 +00:00
Rivo Laks b88e5d1c06 Update
svn path=/trunk/KDE/kdebase/workspace/; revision=705194
2007-08-27 12:47:40 +00:00
Rivo Laks 4359cb3513 This is being worked on
svn path=/trunk/KDE/kdebase/workspace/; revision=690676
2007-07-21 19:36:26 +00:00
Rivo Laks 9c05342745 Updates
svn path=/trunk/KDE/kdebase/workspace/; revision=690000
2007-07-19 19:50:05 +00:00
Luboš Luňák 6de4afe39b There should be probably also some window-specific settings for compositing.
svn path=/trunk/KDE/kdebase/workspace/; revision=689953
2007-07-19 16:33:26 +00:00
Luboš Luňák ac42ba0b4f A simple solution for alpha channel hacks - ignore them :).
The 'ignore ARGB visuals' option from Kompmgr probably doesn't make
much sense, those (usually old) apps can be run with XLIB_SKIP_ARGB_VISUALS=1 set.
Also remove the alpha clear hack used for decorations - I think decorations
instead should be fixed not to "unintentionally" have alpha set.


svn path=/trunk/KDE/kdebase/workspace/; revision=689916
2007-07-19 14:23:11 +00:00
Luboš Luňák 1d0a35fce7 It should be possible to have window rules for unmanaged windows as well.
svn path=/trunk/KDE/kdebase/workspace/; revision=689902
2007-07-19 12:51:15 +00:00
Luboš Luňák e1c5f18414 Separate rendering for decoration and window contents, they can have
different opacity (opacity only for decoration option).


svn path=/trunk/KDE/kdebase/workspace/; revision=689855
2007-07-19 10:07:49 +00:00
Luboš Luňák 5faa397849 Vertex redesign - redo the way windows are split into smaller parts
for use in effects (and not only). Now a list of window quads (=window areas)
is created at the beginning of the paint pass, prepaint calls can modify
the split itself (i.e. divide it into more parts). The actual paint calls
can then modify these quads (i.e. transform their geometry). This will allow
better control of how the split is done and also allow painting e.g. only
the decoration differently. Still work in progress, but it works.
Also pass data to prepaint functions in a struct, as there is
already quite a number of them.


svn path=/trunk/KDE/kdebase/workspace/; revision=684893
2007-07-07 14:01:32 +00:00
Luboš Luňák d265b34760 We'll need something to check versions with changing API.
svn path=/trunk/KDE/kdebase/workspace/; revision=684887
2007-07-07 13:52:17 +00:00
Rivo Laks a73793bda9 That's done
svn path=/trunk/KDE/kdebase/workspace/; revision=683211
2007-07-04 11:41:44 +00:00
Luboš Luňák a6e600b5c3 Listen to Aaron's wisdom :).
svn path=/trunk/KDE/kdebase/workspace/; revision=683195
2007-07-04 11:07:50 +00:00