3125333f76
The logout effect was rather broken. First of all it was excluded from build if OpenGL ES is present at build time. The reason for this is that the effect did not work with GLES. In order to fix that the vignetting is ported over to OpenGL 2 by using a dedicated shader. As well the lod based blur is added through a dedicated shader and uses framebuffer blit to get the current rendered buffer before rendering the logout window into a texture. Last but not least the isActive method was broken and is fixed by checking whether the logout window is around. BUG: 303096 FIXED-IN: 4.9.0 REVIEW: 105459
9 lines
208 B
GLSL
9 lines
208 B
GLSL
uniform sampler2D sampler;
|
|
uniform float u_alphaProgress;
|
|
|
|
varying vec2 varyingTexCoords;
|
|
|
|
void main() {
|
|
gl_FragColor = texture2D(sampler, varyingTexCoords, 1.75);
|
|
gl_FragColor.a = u_alphaProgress;
|
|
}
|