vulkan: Change the clip intersection check
authorBenjamin Otte <otte@redhat.com>
Mon, 10 Jul 2023 23:38:02 +0000 (01:38 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 10 Jul 2023 23:39:25 +0000 (01:39 +0200)
commit3523d56122d0ea94b1b0ea72ab780397129f4b9d
tree8756548b53787ff69c034da89854877b133e65e9
parent5c601b673e3005277b5390b8af676793be2d5fe5
vulkan: Change the clip intersection check

Intersection with a roudned clip takes too long.

Instead, rename the function to may_intersect() to be clear about what
it does and then just intersect with the regular rectangle.
gsk/vulkan/gskvulkanclip.c
gsk/vulkan/gskvulkanclipprivate.h
gsk/vulkan/gskvulkanrenderpass.c