vulkan: Repurpose debug flags for image uploads
authorBenjamin Otte <otte@redhat.com>
Wed, 14 Jun 2023 01:31:11 +0000 (03:31 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 14 Jun 2023 01:34:07 +0000 (03:34 +0200)
commit9836389fde5c540ec87e048399abc95a1b325098
tree4cbc0857e2fbec29f54fa1900a05de634caec627
parent7f26f5a160bef828f27486f76e21fc07f247ee00
vulkan: Repurpose debug flags for image uploads

Now that we don't use the old environment variables anymore to force
staging buffer/image uploads, we don't need them.

However, we do autodetect the fast path for avoiding a staging buffer
now, and we might want to be able to turn that off for testing.

So add GSK_DEBUG=staging that does exactly that.
gsk/gskdebug.c
gsk/gskdebugprivate.h
gsk/vulkan/gskvulkanimage.c