picom/src
Yuxuan Shui dffde065b1
Make the shadow actually gaussian
The old shadow kernel formula is not "wrong" per se, as the only judge
is if it looks good. However, the formula used is not really gaussian.
Also, the kernel size calculation doesn't really make sense to me.

This commit change the kernel formula to actually use a gaussian
distribution. As far as I can tell, there is no perceivable difference.
Except now the effective shadow radius is smaller for the same config.

Also, made that part of code a bit more mordern.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2018-12-09 02:07:08 +00:00
..
c2.c Convert some Xlib constants to xcb 2018-11-04 18:58:05 +00:00
c2.h Remove some unnecessary macros 2018-11-04 18:54:37 +00:00
common.h Make the shadow actually gaussian 2018-12-09 02:07:08 +00:00
compton.c Make the shadow actually gaussian 2018-12-09 02:07:08 +00:00
compton.h Move private functions from compton.h to compton.c 2018-11-03 22:38:33 +00:00
config.c Add wintype option `redir-ignore`. 2018-12-04 16:36:49 +00:00
config.h Move the initialization of wintype options into common function 2018-12-04 16:29:32 +00:00
config_libconfig.c Add wintype option `redir-ignore`. 2018-12-04 16:36:49 +00:00
dbus.c Enable paint-on-overlay whenever possible 2018-11-03 22:36:52 +00:00
dbus.h Fix typo in CONTRIBUTORS, move licenses around 2018-10-03 22:24:12 +01:00
diagnostic.c Add --diagnostics option 2018-11-03 22:37:18 +00:00
diagnostic.h Add --diagnostics option 2018-11-03 22:37:18 +00:00
meson.build Revert "Remove xrender-sync and xrender-sync-fence" 2018-11-08 18:07:18 +00:00
opengl.c Remove GLX sync fence code 2018-11-10 22:16:30 +00:00
opengl.h Fix typo in CONTRIBUTORS, move licenses around 2018-10-03 22:24:12 +01:00
region.h Move common types to types.h 2018-10-25 23:32:10 +01:00
types.h Fix signedness of x properties 2018-11-01 11:12:46 +00:00
utils.h Fix unsupported optimize attribute on clang 2018-11-03 14:05:13 +00:00
win.c Clean up the wintype option logic 2018-12-04 15:13:08 +00:00
win.h Revert "Remove xrender-sync and xrender-sync-fence" 2018-11-08 18:07:18 +00:00
x.c Revert "Remove xrender-sync and xrender-sync-fence" 2018-11-08 18:07:18 +00:00
x.h Convert some Xlib constants to xcb 2018-11-04 18:58:05 +00:00
xrescheck.c Sort out license problems 2018-10-03 22:14:51 +01:00
xrescheck.h Sort out license problems 2018-10-03 22:14:51 +01:00