2023-03-31 19:11:10 +00:00
|
|
|
#pragma once
|
2016-12-16 05:10:24 +00:00
|
|
|
|
|
|
|
#include <gdk/gdk.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
typedef struct _GskVulkanCommandPool GskVulkanCommandPool;
|
|
|
|
|
|
|
|
GskVulkanCommandPool * gsk_vulkan_command_pool_new (GdkVulkanContext *context);
|
|
|
|
void gsk_vulkan_command_pool_free (GskVulkanCommandPool *self);
|
|
|
|
|
|
|
|
void gsk_vulkan_command_pool_reset (GskVulkanCommandPool *self);
|
|
|
|
|
|
|
|
VkCommandBuffer gsk_vulkan_command_pool_get_buffer (GskVulkanCommandPool *self);
|
|
|
|
void gsk_vulkan_command_pool_submit_buffer (GskVulkanCommandPool *self,
|
|
|
|
VkCommandBuffer buffer,
|
2017-09-28 00:09:35 +00:00
|
|
|
gsize wait_semaphore_count,
|
|
|
|
VkSemaphore *wait_semaphores,
|
|
|
|
gsize signal_semaphores_count,
|
|
|
|
VkSemaphore *signal_semaphores,
|
2016-12-16 05:10:24 +00:00
|
|
|
VkFence fence);
|
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|