]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/semaphore.h
Initial implementation of Vulkan backend
[libs/gl.git] / source / backends / vulkan / semaphore.h
diff --git a/source/backends/vulkan/semaphore.h b/source/backends/vulkan/semaphore.h
new file mode 100644 (file)
index 0000000..8b80961
--- /dev/null
@@ -0,0 +1,28 @@
+#ifndef MSP_GL_VULKAN_SEMAPHORE_H_
+#define MSP_GL_VULKAN_SEMAPHORE_H_
+
+#include "handles.h"
+
+namespace Msp {
+namespace GL {
+
+class Device;
+
+class Semaphore
+{
+       friend class SwapChain;
+       friend class VulkanCommands;
+
+private:
+       Device &device;
+       VkSemaphore handle;
+
+public:
+       Semaphore();
+       ~Semaphore();
+};
+
+} // namespace GL
+} // namespace Msp
+
+#endif