From a3f6a3fd03ce5ce6b785fae70c7c890eb6f8fb7c Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 4 Oct 2018 09:50:09 -0700 Subject: Added ReleaseStaleResources() to IRenderDevice interface + a bunch of minor chnages --- Graphics/GraphicsEngineVulkan/interface/RenderDeviceVk.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Graphics/GraphicsEngineVulkan') diff --git a/Graphics/GraphicsEngineVulkan/interface/RenderDeviceVk.h b/Graphics/GraphicsEngineVulkan/interface/RenderDeviceVk.h index 0d75582e..58cc5bc7 100644 --- a/Graphics/GraphicsEngineVulkan/interface/RenderDeviceVk.h +++ b/Graphics/GraphicsEngineVulkan/interface/RenderDeviceVk.h @@ -53,13 +53,6 @@ public: /// that all associated work has been finished virtual Bool IsFenceSignaled(Uint32 QueueIndex, Uint64 FenceValue) = 0; - /// Purges device release queues and releases all stale resources. - /// This method is automatically called by ISwapChain::Present(). - /// \param [in] ForceRelease - Forces release of all objects. Use this option with - /// great care only if you are sure the resources are not - /// in use by the GPU (such as when the device has just been idled). - virtual void ReleaseStaleResources(bool ForceRelease = false) = 0; - /// Creates a texture object from native Vulkan image /// \param [in] vkImage - Vulkan image handle -- cgit v1.2.3