vulkan: Always render clip extents
authorBenjamin Otte <otte@redhat.com>
Sat, 31 Mar 2018 06:17:42 +0000 (08:17 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 5 Apr 2018 12:56:38 +0000 (14:56 +0200)
commit0f184d3270cfac522a05ae06d28cc2f1e32c0e6d
tree7b854add4e36b00a3bf679a734d88f23d6e83201
parente3a717363bd4898aa72db250b6ab5af68fae284b
vulkan: Always render clip extents

Now that we have the full render nodes available, there is not much
benefit in fine-grained control over multiple rectangles.
In particular, it's causing pain with complex regions.

There might be a benefit in clipping to the region's rectangles in cases
like widget-factory where the whole diff is made up of the 2 rectangles
of spinner and the pulsing progress bar, but it needs a good heuristic
for where this is useful.
gsk/vulkan/gskvulkanrender.c