kwin/kcmkwin/kwincompositing
Martin Gräßlin 5213c4aff6 Drop direct rendering setting
The advanced compositing option "direct rendering" could only
correctly be honored in the case of proprietary NVIDIA drivers.
In all other cases playing with the setting was most likely
harmful as it could result in inconsistent states and the
option not to be honored at all.

This patch resolves this issue by moving the detection whether
to use a direct rendering context completely into the hands of
 the set environment variables or the helper program:
* if LIBGL_ALWAYS_INDIRECT is set, we use an indirect context
* if KWIN_DIRECT_GL is set, we use a direct context
* if none of the two are set, we use the helper program, if it
  returns 0 we create a direct context, otherwise we set
  LIBGL_ALWAYS_INDIRECT and create an indirect context

If a user really wants to influence the behavior the
environment variables can be used.

REVIEW: 102074
2011-07-31 17:40:03 +02:00
..
CMakeLists.txt KCMs need to link kwingl(es)compositing 2011-07-27 18:34:31 +02:00
interface_util.h
ktimerdialog.cpp KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
ktimerdialog.h KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
kwincompositing.desktop SVN_SILENT made messages (.desktop file) 2011-07-13 09:17:45 +02:00
main.cpp Drop direct rendering setting 2011-07-31 17:40:03 +02:00
main.h Allow the user to rearm OpenGLIsUnsafe KWIn autocrash protection 2011-05-11 20:16:08 +02:00
main.ui Drop direct rendering setting 2011-07-31 17:40:03 +02:00
Messages.sh