Revision 909b4ef...
Go back to digest for 24th July 2011Other in KDE Base
Martin Gräßlin committed changes in [kde-workspace] /:
Add a define KWIN_SHADER_DEBUG to all shaders
If the environment variable KWIN_GL_DEBUG is set to 1
the define KWIN_SHADER_DEBUG is added to the glsl
source code allowing to add some custom ifdefed
visual debug handling.
As an example it's added to scene-fragment.glsl to
paint everything in a greenish way.
File Changes
Modified 3 files
- kwin/scene-fragment.glsl
- kwin/libkwineffects/kwinglutils.cpp
- kwin/libkwineffects/kwinglutils.h
3 files changed in total