Commit Graph

4 Commits (3fca254f83f4c86d4c11b7999ff879db2597171b)

Author SHA1 Message Date
Fredrik Höglund 119c06e403 Make the lanczos shader use a fixed number of iterations in the loop.
This makes it possible for the GLSL compiler to unroll it, which also
avoids the need to use relative addressing. With this change the shader
should hopefully work with the R300G driver.

The unused kernel weights are set to zero so they don't contribute
to the end result.

Thanks to Tom Stellard and Marek Olšák for their suggestions on how
to solve this problem.

CCBUG: 243191

svn path=/trunk/KDE/kdebase/workspace/; revision=1175021
2010-09-13 22:03:21 +00:00
Andreas Hartmetz 72fb0824ef Also compile *with* OpenGL present; include the file that supplies KWIN_HAVE_OPENGL_COMPOSITING.
svn path=/trunk/KDE/kdebase/workspace/; revision=1137417
2010-06-12 18:33:49 +00:00
Martin Gräßlin c705dd474e add missing ifdefs to make the code compile if OpenGL is not present
svn path=/trunk/KDE/kdebase/workspace/; revision=1137402
2010-06-12 16:43:25 +00:00
Martin Gräßlin 191435d425 Move Lanczos filter from taskbarthumbnail effect into the scene and use it also in boxswitch, presentwindows and thumbnailaside effects.
svn path=/trunk/KDE/kdebase/workspace/; revision=1133901
2010-06-02 20:04:54 +00:00