Revision 07aa4c3...

Go back to digest for 13th March 2011

Bug Fixes in KDE Base

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

Fix passing matrixes to the shaders

QMatrix4x4 accepts data in row-major order, but returns them in
column-major order, which is not documented and because of that
I expected them to be in row-major order.
This commit fixes it and rewrites the shaders to apply the matrix
multiplications in the right order.
REVIEW: 100759

File Changes

Modified 8 files
  •   kwin/scene-color-vertex.glsl
  •   kwin/scene-generic-vertex.glsl
  •   kwin/scene-vertex.glsl
  •   kwin/libkwineffects/kwinglutils.cpp
  •   kwin/effects/blur/blurshader.cpp
  •   kwin/effects/cube/cube.cpp
  •   kwin/effects/cube/data/cylinder.vert
  •   kwin/effects/cube/data/sphere.vert
8 files changed in total