vulkan: Upload cairo images "directly"
authorBenjamin Otte <otte@redhat.com>
Tue, 11 Jul 2023 07:35:01 +0000 (09:35 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 16 Jul 2023 10:13:00 +0000 (12:13 +0200)
commit48e1d48e7fe1161002d0ac11d84389b0721ff01f
tree831b4454b99b95853db274d7171cc38f1b457db6
parent70a12c4efb6234a4b5a124fec114c466aac6bc01
vulkan: Upload cairo images "directly"

Instead of using the upload vfunc and going via the code in
GskVulkanImage, copy/paste the relevant code into the command() vfunc.

This is meant to achieve multiple things:
1. Get rid of GskVulkanUploader and its own command buffer and general
   non-integration with operations.
2. Get rid of GskVulkanOp:upload()
3. Get the upload/download code machinery for GskVulkanImage and put it
   with the actual operations.

The current code can't do direct upload/download, that will follow in a
future commit.
gsk/vulkan/gskvulkanimage.c
gsk/vulkan/gskvulkanimageprivate.h
gsk/vulkan/gskvulkanrender.c
gsk/vulkan/gskvulkanrenderprivate.h
gsk/vulkan/gskvulkanuploadcairoop.c