kwin/effects/invert
Martin Gräßlin a05ad98896 Remove textureWidth/textureHeight from all Shaders
The uniforms textureWidth and textureHeight were only needed for
normal windows. For everything else it was just 1.0/1.0, that is
normalized.

The makeArrays method is changed to produce normalized texcoords
obsoleting the need for these uniforms. So two uniforms less, one
calculation in vertex shaders less and many many lines of code
removed.

At the same time makeArrays is also adjusted to take care of
yInverted of the texture, which is needed as we no longer can use
the enableUnnormalizedTexCoords which did the yInverted transformation.

REVIEW: 101646
2011-06-19 20:54:13 +02:00
..
data Remove textureWidth/textureHeight from all Shaders 2011-06-19 20:54:13 +02:00
CMakeLists.txt Invert effect ported to GLES. 2011-01-30 14:12:05 +01:00
invert.cpp EffectsHandler emits windowClosed signal 2011-02-27 09:25:45 +01:00
invert.desktop SVN_SILENT made messages (.desktop file) 2011-05-17 10:49:34 +02:00
invert.h EffectsHandler emits windowClosed signal 2011-02-27 09:25:45 +01:00
invert_config.cpp KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
invert_config.desktop SVN_SILENT made messages (.desktop file) 2011-05-17 10:49:34 +02:00
invert_config.h KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00