Revision bd3611c...

Go back to digest for 2nd March 2014

Optimization in KDE Base

Martin Gräßlin committed changes in [kde-workspace] /:

[kwin] Remove the legacy OpenGL 1 compositing backend

KWin already has a de facto OpenGL 2 dependency through QML. Combined
with the fact that the OpenGL 1 backend is basically unmaintained and
also unused, it's better to remove it for the new major release.

This change includes:
* Removal of cmake option KWIN_BUILD_OPENGL_1_COMPOSITING
* Removal of KWIN_HAVE_OPENGL_1 compile option and all code
ifdef'ed with it (partially removal of if-else constructs)
* Removal of CompositingType::OpenGL1Compositing (flags are kept
as a core flag should get introduced)
* Driver recommendation for OpenGL1Compositing changed to XRender
(should be evaluated whether the drivers can provide GL2)
* Removal of configuration option "GLLegacy"
* Removal of fooMatrix function in kwinglutils
* Removal of ARBBlurShader
* Removal of legacy code path in GLVertexBuffer
* Removal of GLShaderManager::disable
* if-blocks with ShaderManager::instance()->isValid() removed

REVIEW: 116042

File Changes

Modified 31 files
  •   kwin/CMakeLists.txt
  •   kwin/composite.cpp
  •   kwin/glxbackend.cpp
  •   kwin/options.cpp
  •   kwin/options.h
  •   kwin/scene_opengl.cpp
  •   kwin/scene_opengl.h
  •   kwin/workspace.cpp
  •   kwin/effects/CMakeLists.txt
  •   kwin/libkwineffects/CMakeLists.txt
  •   kwin/libkwineffects/kwinglobals.h
  •   kwin/libkwineffects/kwinglplatform.cpp
  •   kwin/libkwineffects/kwingltexture.cpp
  •   kwin/libkwineffects/kwinglutils.cpp
  •   kwin/libkwineffects/kwinglutils.h
  •   kwin/effects/backgroundcontrast/contrast.cpp
  •   kwin/effects/backgroundcontrast/contrastshader.cpp
  •   kwin/effects/blur/blur.cpp
  •   kwin/effects/blur/blurshader.cpp
  •   kwin/effects/blur/blurshader.h
  •   kwin/effects/coverswitch/coverswitch.cpp
  •   kwin/effects/cube/cube.cpp
  •   kwin/effects/cube/cubeslide.cpp
  •   kwin/effects/flipswitch/flipswitch.cpp
  •   kwin/effects/logout/logout.cpp
  •   kwin/effects/logout/logout.h
  •   kwin/effects/mouseclick/mouseclick.cpp
  •   kwin/effects/screenedge/screenedgeeffect.cpp
  •   kwin/effects/screenshot/screenshot.cpp
  •   kwin/effects/startupfeedback/startupfeedback.cpp
  •   kwin/effects/trackmouse/trackmouse.cpp
31 files changed in total