Files
gtk/gsk
Carlos Garnacho b9448b06b4 gsk: Extend the blur radius for outset shadow extents
By dividing the blur radius to obtain the clip radius, we may end up
with halved values that result in an overshunk clip mask. Extend this
so that we ensure to cover the last pixel.

Fixes artifacts seen with the cairo renderer in X11 when resizing
windows horizontally, a black 1px high line would be seen in the
top of the window due to these outset bounds being used in clipping.

More mysteriously, also seems to fix resize lag in the GL renderer
(also X11), if e.g. the bottom-right corner of a window is resized
diagonally in bottom-left -> top-right direction, or
bottom-right -> top-left.

Related: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2175#note_1599335
2022-11-23 19:27:49 +01:00
..
2022-11-17 22:49:45 -05:00
2022-11-17 22:49:45 -05:00
2022-09-23 19:50:09 -04:00
2020-07-25 00:47:36 +02:00
2021-03-11 16:37:31 +00:00
2021-12-20 17:08:15 +01:00
2022-11-17 22:49:45 -05:00
2021-05-22 17:25:26 -04:00
2022-07-15 15:47:11 -04:00
2022-07-15 15:47:11 -04:00
2022-09-23 18:11:48 -04:00
2022-09-23 19:50:09 -04:00
2022-09-23 18:11:48 -04:00
2021-05-22 17:25:26 -04:00
2022-09-23 19:50:09 -04:00
2019-11-27 13:33:43 +00:00
2022-09-23 19:50:09 -04:00