diff options
author | Benjamin Otte <otte@redhat.com> | 2016-11-30 00:54:48 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-12-09 18:35:51 +0100 |
commit | 325efe707827d0e0f11d849e950930537bf7f1fb (patch) | |
tree | 18113c06fd71b49716c059523288fdcb086e3fd4 /gdk/gdkvulkancontext.h | |
parent | a753f047df93b80949b06ed2e368a7de8f42c442 (diff) | |
download | gtk+-325efe707827d0e0f11d849e950930537bf7f1fb.tar.gz |
vulkan: Expose the swapchain images in public API
Diffstat (limited to 'gdk/gdkvulkancontext.h')
-rw-r--r-- | gdk/gdkvulkancontext.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdk/gdkvulkancontext.h b/gdk/gdkvulkancontext.h index d4b078903b..2690048e85 100644 --- a/gdk/gdkvulkancontext.h +++ b/gdk/gdkvulkancontext.h @@ -63,6 +63,11 @@ GDK_AVAILABLE_IN_3_90 uint32_t gdk_vulkan_context_get_queue_family_index (GdkVulkanContext *context); GDK_AVAILABLE_IN_3_90 VkFormat gdk_vulkan_context_get_image_format (GdkVulkanContext *context); +GDK_AVAILABLE_IN_3_90 +guint gdk_vulkan_context_get_n_images (GdkVulkanContext *context); +GDK_AVAILABLE_IN_3_90 +VkImage gdk_vulkan_context_get_image (GdkVulkanContext *context, + guint id); #endif /* GDK_WINDOWING_VULKAN */ |