dmabuf: A bunch of cleanups
These are a bunch of refactorings and cleanups for the dmabuf code, that I did as part of the work to make the new Vulkan renderer export dmabufs in gsk_renderer_render_texture()
.
See individual commits for details.
Edited by Benjamin Otte