vulkan: Compute offscreen texture coords properly
authorBenjamin Otte <otte@redhat.com>
Tue, 2 May 2023 17:44:06 +0000 (19:44 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 2 May 2023 17:44:06 +0000 (19:44 +0200)
commitf99ecd37393434a12c70daae2455027f907893c6
treeb981b29653c18038206c68dc06bfd7f063a1fad5
parent9b558b50b8b46026ed962eaa0421521c18bf1590
vulkan: Compute offscreen texture coords properly

Most of the time we want to compute them based on the child node we
render to the offscreen, but not always.
For blend and cross-fade nodes, they need to be computed based on the
node's bounds.

Fixes widget-factory page fade animation weirdly resizing the fading
pages.
gsk/vulkan/gskvulkanrenderpass.c