Revision f5b2e70...

Go back to digest for 6th February 2011

Features in KDE Base

Martin Gräßlin committed changes in [kde-workspace/graesslin/kwin-gles] /effects/coverswitch:

Reflection plane in Coverswitch and GLES

CoverSwitch uses new concept of combining a custom fragment shader with the
built-in generic vertex shader. This shader is used to render the reflection
plane on top of the reflected windows.

The fragment shader uses two uniform colors for front and back and interpolates
between them based on the texcoords (which are not used for texture lookup).
The reflection plane vertices could be buffered.

File Changes

Added 1 files
  • kwin/effects/coverswitch/coverswitch-reflection.glsl
Modified 3 files
  • /effects/coverswitch
  •   kwin/CMakeLists.txt
  •   kwin/coverswitch.cpp
  •   kwin/coverswitch.h
4 files changed in total