Martin Gräßlin
063e796b18
[effects/backgroundcontrast] Remove ContrastShader::pixelSizeLocation
...
Credits to clang for finding an unused private variable.
2017-07-31 18:00:17 +02:00
Martin Gräßlin
8919cd5f54
[effects] Simplify supported check in blur and backgroundcontrast
...
GLSL is always required nowadays on GL compositor.
REVIEW: 118642
2014-06-11 14:50:01 +02:00
Marco Martin
b7ded05596
fade out the effect if the window opacity is < 1
2014-01-23 14:47:49 +01:00
Marco Martin
210f7d3eff
reintroduce prepaintscreen
...
* work also without blur enabled
* try to pass only the 3 color parameters
2014-01-23 14:47:01 +01:00
Marco Martin
dabafc4988
simplify: remove prepaintwindow/screen
...
* update effect name
* remove unused variable
2014-01-23 14:46:13 +01:00
Marco Martin
4f2d2e469d
no subclass for the shader
...
* get rid of the strength property
* this effect doesn't have config
2014-01-23 14:45:40 +01:00
Marco Martin
4036f179fc
one single pass, get rid of cached version
...
* this effect is way cheaper than blur, don't cache it
* use its own atom
* also pass the matrix in the x property
* remove remnants of the cache
* do just a single pass
* get rid of config ui remnants
2014-01-23 14:44:49 +01:00
Marco Martin
3a4eb9a093
stub for the background contrast effect
...
* a copy of the blur shader to become a copy of the background contrast effect
* contrastshader actually doing the light modification
* don't expand/shrink the area
2014-01-23 14:44:00 +01:00