1 /*
2  * Copyright 2018 Google Inc.
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  *
7  */
8 
9 #pragma once
10 
11 //
12 //
13 //
14 
15 #include <vulkan/vulkan.h>
16 
17 //
18 //
19 //
20 
21 struct vk_event_pool *
22 vk_event_pool_create(VkDevice device, VkAllocationCallbacks const * allocator, uint32_t const resize);
23 
24 void
25 vk_event_pool_release(struct vk_event_pool * const event_pool);
26 
27 void
28 vk_event_pool_reset(struct vk_event_pool * const event_pool);
29 
30 VkEvent
31 vk_event_pool_acquire(struct vk_event_pool * const event_pool);
32 
33 //
34 //
35 //
36