Commit graph

22 commits

Author SHA1 Message Date
Luboš Luňák
4b33f1babc Fix render check.
svn path=/trunk/KDE/kdebase/workspace/; revision=758642
2008-01-08 16:28:43 +00:00
Luboš Luňák
2f1e9eba44 Uncomment code with new i18n strings.
svn path=/trunk/KDE/kdebase/workspace/; revision=758577
2008-01-08 11:26:52 +00:00
Luboš Luňák
5647e4684d Compositing always disabled by default for now.
svn path=/trunk/KDE/kdebase/workspace/; revision=756786
2008-01-03 19:10:44 +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
01bf6cbb4c License cleanup - add headers where missing, be explicit about GPL
being v2+ (right now it says just GPL, which according to GPL itself
means any GPL). Decoration clients will come later.
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=742302
2007-11-27 19:40:25 +00:00
Luboš Luňák
eb0d793157 Default to SeparateScreenFocus being false, to be consistent with KDE3.
(and e.g. #141997).


svn path=/trunk/KDE/kdebase/workspace/; revision=739693
2007-11-21 15:54:06 +00:00
Rivo Laks
e8dffc8f3a Enable compositing by default on all Intel 900-series cards.
Let's see what happens...

svn path=/trunk/KDE/kdebase/workspace/; revision=736159
2007-11-13 16:20:39 +00:00
Rivo Laks
c4e55307ce Show reason (extensions not available or kwin support disabled at compile time)
when compositing cannot be used.

svn path=/trunk/KDE/kdebase/workspace/; revision=735788
2007-11-12 16:32:25 +00:00
Luboš Luňák
be0bffa238 Fix last commit.
svn path=/trunk/KDE/kdebase/workspace/; revision=731428
2007-10-31 17:21:18 +00:00
Luboš Luňák
d0ee0fa4e4 Not really, although it probably doesn't matter in practice.
svn path=/trunk/KDE/kdebase/workspace/; revision=731423
2007-10-31 17:10:33 +00:00
Luboš Luňák
6c47fc8322 Before destroying a current context, set some other current context (even none).
Fixes crashes with Intel.


svn path=/trunk/KDE/kdebase/workspace/; revision=731410
2007-10-31 16:28:59 +00:00
Luboš Luňák
d51fb87c10 Current nvidia driver no longer has buggy vsync.
svn path=/trunk/KDE/kdebase/workspace/; revision=728472
2007-10-23 12:07:39 +00:00
Luboš Luňák
fef0d1ff29 Detect xgl and whether to use strict binding.
svn path=/trunk/KDE/kdebase/workspace/; revision=726357
2007-10-17 15:37:14 +00:00
Rivo Laks
50bacdcfe3 Don't try to use GLX 1.3 functions when it's not available
svn path=/trunk/KDE/kdebase/workspace/; revision=719170
2007-09-30 14:08:24 +00:00
Rivo Laks
9e7870dea5 Don't try to use glx when it's not available.
Fixes crash when glx is there at compile time but not at runtime.

svn path=/trunk/KDE/kdebase/workspace/; revision=717942
2007-09-27 19:04:18 +00:00
Rivo Laks
ebc378ba91 Enable compositing by default only for Intel cards that are known to work (only 945GM atm)
svn path=/trunk/KDE/kdebase/workspace/; revision=717759
2007-09-27 13:59:58 +00:00
Rivo Laks
68f7504fb0 - Add CompositingPrefs::compositingPossible() to check if compositing is supported at all.
- Use it in setupCompositing()

svn path=/trunk/KDE/kdebase/workspace/; revision=717330
2007-09-26 16:34:08 +00:00
Luboš Luňák
85e46eead6 Check for X errors during detecting OpenGL (don't let whole KWin startup fail
because of it).


svn path=/trunk/KDE/kdebase/workspace/; revision=717267
2007-09-26 13:47:01 +00:00
Luboš Luňák
2c9bee719e Restore original glx context after using the temporary one for detecting,
this avoids visual freeze when reconfiguring.
CCMAIL: rivolaks@hot.ee


svn path=/trunk/KDE/kdebase/workspace/; revision=716819
2007-09-25 10:14:57 +00:00
Rivo Laks
686bffcc49 Apply driver-specific workaround (e.g. disabling vsync) for all driver versions since I don't
know that they are/will be fixed in later versions.

svn path=/trunk/KDE/kdebase/workspace/; revision=715547
2007-09-22 11:19:22 +00:00
Rivo Laks
8439c3be9a VSync and vt switching is still broken in the latest nvidia driver
svn path=/trunk/KDE/kdebase/workspace/; revision=715202
2007-09-21 13:29:55 +00:00
Rivo Laks
59f21e39fe Add automatic driver detection for compositing options.
This is used to set sane defaults and work around possible driver bugs.
Also, if you have a "whitelisted" driver (nvidia >= 96.39 or intel >= 20061017)
  then compositing will be enabled by default for you.

svn path=/trunk/KDE/kdebase/workspace/; revision=714004
2007-09-18 13:59:06 +00:00