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
..
broadway Fix spelling errors 2022-11-17 22:49:45 -05:00
gl gsk: Avoid a crash with negative scales 2022-11-20 12:13:02 -05:00
vulkan Fix spelling errors 2022-11-17 22:49:45 -05:00
gen-gsk-gresources-xml.py gsk: Move shader resources 2021-04-03 08:24:58 -04:00
gsk.h gsk: Dissolve gsk-autocleanup.h 2022-09-23 19:50:09 -04:00
gskcairoblur.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
gskcairoblurprivate.h Annotate gsk_cairo_blur_compute_pixels as const 2021-09-14 16:38:08 -04:00
gskcairorenderer.c renderers: Handle large viewports 2022-02-26 20:35:44 +01:00
gskcairorenderer.h docs: Improve gsk docs 2021-03-11 16:37:31 +00:00
gskdebug.c Rename gdk-private.h to gdkprivate.h 2022-09-23 23:23:27 -04:00
gskdebugprivate.h Rename gdkdebug.h to gdkdebugprivate.h 2022-09-23 23:12:01 -04:00
gskdiff.c gsk: Allow diffing code to abort 2021-12-20 17:08:15 +01:00
gskdiffprivate.h gsk: Allow diffing code to abort 2021-12-20 17:08:15 +01:00
gskenums.h docs: use markdown syntax for hyperlinks 2021-05-25 13:14:01 +00:00
gskenumtypes.c.template types: fix various use of volatile in type registration 2020-11-18 20:21:33 -08:00
gskenumtypes.h.template Use @basename@ in enumeration type templates 2019-02-04 14:02:45 +01:00
gskglshader.c Fix spelling errors 2022-11-17 22:49:45 -05:00
gskglshader.h gsk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gskglshaderprivate.h Add GskGLShaderNode and GskGLShader 2020-09-29 09:51:16 +02:00
gskprivate.c Drop an unused function 2022-07-15 15:47:11 -04:00
gskprivate.h Drop an unused function 2022-07-15 15:47:11 -04:00
gskprofiler.c Convert all profiler times from nsec to usec 2020-02-12 10:44:17 +01:00
gskprofilerprivate.h gsk: Add some more profiler apis 2019-05-07 09:37:59 -07:00
gskrenderer.c gsk: Use the new debug macros 2022-09-23 18:11:48 -04:00
gskrenderer.h gsk: Dissolve gsk-autocleanup.h 2022-09-23 19:50:09 -04:00
gskrendererprivate.h renderer: Make gsk_renderer_is_realized() public 2019-03-19 08:47:54 +01:00
gskrendernode.c gsk: Use the new debug macros 2022-09-23 18:11:48 -04:00
gskrendernode.h gsk: Dissolve gsk-autocleanup.h 2022-09-23 19:50:09 -04:00
gskrendernodeimpl.c gsk: Extend the blur radius for outset shadow extents 2022-11-23 19:27:49 +01:00
gskrendernodeparser.c rendernodeparser: Cosmetics 2022-07-15 15:46:06 -04:00
gskrendernodeparserprivate.h rendernodeparser: Skip root node when it's a container 2019-05-21 06:43:59 +02:00
gskrendernodeprivate.h gsk: Collect opacity information 2022-04-05 14:57:38 -04:00
gskroundedrect.c Add a doc comment for gsk_rounded_rect_is_circular 2021-06-04 09:49:05 -04:00
gskroundedrect.h gsk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gskroundedrectprivate.h Annotate gsk_rounded_rect_is_circular as pure 2021-09-14 16:38:08 -04:00
gsktransform.c Mark various GskTransform functions as nullable in their return value 2022-01-14 11:57:23 +02:00
gsktransform.h gsk: Dissolve gsk-autocleanup.h 2022-09-23 19:50:09 -04:00
gsktransformprivate.h gsk: move transform structure to private.h 2021-02-10 16:14:59 -08:00
gsktypes.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
meson.build gsk: Dissolve gsk-autocleanup.h 2022-09-23 19:50:09 -04:00