gl: Change rounded_rect_shrink()
authorBenjamin Otte <otte@redhat.com>
Mon, 11 Sep 2023 03:17:56 +0000 (05:17 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 19 Sep 2023 20:32:27 +0000 (16:32 -0400)
commit6f89d258b0f60fd336657d51a12dc4693afc4a1f
tree4c4dc701a1d6c433831655f2192f4188e671b19e
parent17c3a1ed7374ff234f2b34a4317fe6a7690b7a38
gl: Change rounded_rect_shrink()

The code now follows gsk_rounded_rect_shrink() and with it the behavior
of the Cairo renderer and Webkit.

The old code did what the GL renderer and Cairo do, but I consider that
wrong.

I did not test Chrome.

Test attached
gsk/gl/resources/preamble.vs.glsl
testsuite/gsk/compare/shrink-rounded-border.node [new file with mode: 0644]
testsuite/gsk/compare/shrink-rounded-border.png [new file with mode: 0644]
testsuite/gsk/meson.build