summaryrefslogtreecommitdiff
path: root/gsk/gskvulkanimageprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-12-08 21:14:41 +0100
committerBenjamin Otte <otte@redhat.com>2016-12-09 18:35:52 +0100
commit8756deec5898c281b88aeb546fe769e55b126f6b (patch)
tree8de461ebaf9bb10f32be9d091173efe6481dc7a7 /gsk/gskvulkanimageprivate.h
parent17c11dd97b99b3482de203be65c76eb613995582 (diff)
downloadgtk+-8756deec5898c281b88aeb546fe769e55b126f6b.tar.gz
vulkan: Turn swapchain image targets into GskVulkanImages
This gives us proper refcounting here, too. And there's no longer a difference between the different types of images.
Diffstat (limited to 'gsk/gskvulkanimageprivate.h')
-rw-r--r--gsk/gskvulkanimageprivate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gsk/gskvulkanimageprivate.h b/gsk/gskvulkanimageprivate.h
index 9b02893988..1c43d9aa9b 100644
--- a/gsk/gskvulkanimageprivate.h
+++ b/gsk/gskvulkanimageprivate.h
@@ -9,6 +9,11 @@ G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE (GskVulkanImage, gsk_vulkan_image, GSK, VULKAN_IMAGE, GObject)
+GskVulkanImage * gsk_vulkan_image_new_for_swapchain (GdkVulkanContext *context,
+ VkImage image,
+ VkFormat format,
+ gsize width,
+ gsize height);
GskVulkanImage * gsk_vulkan_image_new_from_data (GdkVulkanContext *context,
VkCommandBuffer command_buffer,
guchar *data,