vulkan: Render fallback into vulkan memory
authorBenjamin Otte <otte@redhat.com>
Wed, 14 Jun 2023 00:15:29 +0000 (02:15 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 14 Jun 2023 01:34:07 +0000 (03:34 +0200)
commitf88b1cef21844894e7f9a29f14aad021d2579133
tree4682e78bbe56733236a1d51c04aa5645011ce627
parentc27e412ff105324e9493b7bdf7d398676890f4e2
vulkan: Render fallback into vulkan memory

Use the new map/unmap image upload method for Cairo node drawing:
1. map() the memory
2. create an image surface or that memory
3. draw to that image surface
4. success

There's no longer a need for Cairo to allocate image memory.
gsk/vulkan/gskvulkanrenderpass.c