Martin Gräßlin
0a7e48f7aa
KWin uses kdelibs coding style.
2011-01-31 20:07:03 +01:00
Martin Gräßlin
8c4fc28e1a
Blur ported to GLES.
...
It now uses a GLShader for GLSL shaders and pushes it using the
ShaderManager.
It does not work with the nouveau driver plus GLES, but it works
with fglrx + desktop GL 2.x, so I assume it is a driver problem here.
2011-01-30 14:12:06 +01:00
Fredrik Höglund
253647ec1e
Sanity check the shader limitations to protect against implementations
...
returning bogus values.
FIXED-IN: 4.5
BUG: 241449
svn path=/trunk/KDE/kdebase/workspace/; revision=1137677
2010-06-14 00:18:04 +00:00
Fredrik Höglund
69ab6ec3b7
Use GL_CONSTANT_ALPHA instead of reducing the opacity in the fragment shader.
...
This makes the blending work correctly when the alpha bits are zero,
which is apparently the case with NVidia.
svn path=/trunk/KDE/kdebase/workspace/; revision=1102471
2010-03-12 16:10:57 +00:00
Fredrik Höglund
c82351488e
Make sure that both the render target and the shader are valid
...
before using them.
svn path=/trunk/KDE/kdebase/workspace/; revision=1102465
2010-03-12 15:56:19 +00:00
Fredrik Höglund
67e0e91168
Check some HW limits and make sure we don't exceed them.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1101724
2010-03-10 18:16:18 +00:00
Fredrik Höglund
3de8c53f21
Refactor the blur shader code a bit, and add a GLSL version.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1100848
2010-03-08 20:45:58 +00:00
Fredrik Höglund
53391ba944
Initial commit of the blur effect rewrite.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1099619
2010-03-05 20:42:10 +00:00