From 5e63cdbcc4052b0baa196de58d162a3706185337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 23 Sep 2022 15:24:26 +0200 Subject: [PATCH] Make functions private that should be private --- Common/GPU/Vulkan/VulkanRenderManager.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Common/GPU/Vulkan/VulkanRenderManager.h b/Common/GPU/Vulkan/VulkanRenderManager.h index c68354f348..899577def2 100644 --- a/Common/GPU/Vulkan/VulkanRenderManager.h +++ b/Common/GPU/Vulkan/VulkanRenderManager.h @@ -200,16 +200,10 @@ public: VulkanRenderManager(VulkanContext *vulkan); ~VulkanRenderManager(); - void ThreadFunc(); - void CompileThreadFunc(); - void DrainCompileQueue(); - // Makes sure that the GPU has caught up enough that we can start writing buffers of this frame again. void BeginFrame(bool enableProfiling, bool enableLogProfiler); // Can run on a different thread! void Finish(); - void Run(int frame); - // Zaps queued up commands. Use if you know there's a risk you've queued up stuff that has already been deleted. Can happen during in-game shutdown. void Wipe(); @@ -468,13 +462,17 @@ public: private: void EndCurRenderStep(); + void ThreadFunc(); + void CompileThreadFunc(); + void DrainCompileQueue(); + + void Run(int frame); void BeginSubmitFrame(int frame); void EndSubmitFrame(int frame); + void EndSyncFrame(int frame); // Bad for performance but sometimes necessary for synchronous CPU readbacks (screenshots and whatnot). void FlushSync(); - void EndSyncFrame(int frame); - void StopThread(); FrameDataShared frameDataShared_;