diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-14 16:52:46 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-14 22:36:15 +0100 |
commit | 33a4cebc225454dfd8dc9a7263fe1f4bfb8a9748 (patch) | |
tree | 8fdddb7c7ac19f29a878b078a6de63a002bd0a3a /src/video_core/renderer_vulkan/vk_resource_manager.h | |
parent | Merge pull request #2113 from ReinUsesLisp/vulkan-base (diff) | |
download | yuzu-33a4cebc225454dfd8dc9a7263fe1f4bfb8a9748.tar yuzu-33a4cebc225454dfd8dc9a7263fe1f4bfb8a9748.tar.gz yuzu-33a4cebc225454dfd8dc9a7263fe1f4bfb8a9748.tar.bz2 yuzu-33a4cebc225454dfd8dc9a7263fe1f4bfb8a9748.tar.lz yuzu-33a4cebc225454dfd8dc9a7263fe1f4bfb8a9748.tar.xz yuzu-33a4cebc225454dfd8dc9a7263fe1f4bfb8a9748.tar.zst yuzu-33a4cebc225454dfd8dc9a7263fe1f4bfb8a9748.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_resource_manager.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_resource_manager.h b/src/video_core/renderer_vulkan/vk_resource_manager.h new file mode 100644 index 000000000..21a53abcd --- /dev/null +++ b/src/video_core/renderer_vulkan/vk_resource_manager.h @@ -0,0 +1,26 @@ +// Copyright 2018 yuzu Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include "video_core/renderer_vulkan/declarations.h" + +namespace Vulkan { + +class VKFence; + +/// Interface for a Vulkan resource +class VKResource { +public: + explicit VKResource(); + virtual ~VKResource(); + + /** + * Signals the object that an owning fence has been signaled. + * @param signaling_fence Fence that signals its usage end. + */ + virtual void OnFenceRemoval(VKFence* signaling_fence) = 0; +}; + +} // namespace Vulkan |