22 Commits (6c420f2b11c4631f8be05ab185e5af554161ebd2)

Author SHA1 Message Date
Martin Gräßlin 4f2f8bda11 Use GLSL 1.40 shaders as GLSL 300 es shaders for effects 13 years ago
Martin Gräßlin 58ffb7b627 GLSL 1.40 shader for invert effect 13 years ago
Martin Gräßlin 0ccc060218 Include KGlobal were needed 13 years ago
Martin Gräßlin 60c42b7a34 s/KLocale/KLocalizedString/g 13 years ago
Martin Gräßlin 2f02157a0f Do not activate InvertEffect per window if there is no active window 13 years ago
Martin Gräßlin c2a4f81927 Introduce a helper class to automatically push/pop Shaders 14 years ago
Martin Gräßlin f9a2ecbf33 Do not use ShaderManager::isValid to check for OpenGL2 compositing 14 years ago
Martin Gräßlin 6d2dfe06e7 Introduce dedicated OpenGL1 and OpenGL2 compositing types 14 years ago
Martin Gräßlin a79eacaed7 Properly detect effects which need OpenGL 2 14 years ago
Thomas Lübking ab86f0e837 add screen inversion through XF86VidModeSetGammaRamp or XRRSetCrtcGamma 14 years ago
Martin Gräßlin 2007a7eab8 Use namespaced parameters in signals 14 years ago
Philipp Knechtges ba39d1f917 kwin:remove PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS_WITHOUT_FULL_REPAINTS 14 years ago
Martin Gräßlin fe4329a252 Only call active effects in the effect chain 15 years ago
Martin Gräßlin 0b85768ec5 EffectsHandler emits windowClosed signal 15 years ago
Martin Gräßlin 0827c2903b Use GLPlatform to decide whether shaders are supported 15 years ago
Martin Gräßlin 54c0a913b9 Fixing broken Invert effect build. 15 years ago
Martin Gräßlin 0a7e48f7aa KWin uses kdelibs coding style. 15 years ago
Martin Gräßlin b7ee35bba1 Invert effect ported to GLES. 15 years ago
Martin Gräßlin 89c0ea0c8d Pass EffectFrame through all effects, so that they can do something with the frame. 16 years ago
Martin Gräßlin 612972eea0 Boxswitch uses paintWindow instead of drawWindow to paint the thumbnail and invert uses drawWindow instead of paintWindow to set the shader. 17 years ago
Martin Gräßlin d7665af4f0 Texture width and height is stored in GLShader and the uniform value is set during prepareShaderRenderStates in scene_opengl. So the effects do not have to set the uniform manually. This is useful as other effects can still set this uniform if something different is rendered with a different texture width/height (e.g. shadows or thumbnails). When the window is finally rendered the original value set by the effect is definatelly used. 17 years ago
Lucas Murray 846496d2c1 Cleaned up the effects/ directory by moving each individual effect into 17 years ago
Stephan Binner 7929582374 i18n style guide fixes 18 years ago
Lucas Murray 9a52d3c709 Added feature to only invert the colours of selected windows 18 years ago
Stephan Binner 32272e9613 i18n style guide fixes 18 years ago
Luboš Luňák c39c81d6a9 Less random shortcuts for some effects. 18 years ago
Luboš Luňák 01bf6cbb4c License cleanup - add headers where missing, be explicit about GPL 19 years ago
Rivo Laks f69139e825 Add invert effect which inverts aka negates desktop's colors. 19 years ago