Modify and restore NVIDIA control panel settings

Namely:
- Power profile for sunshine.exe
- Global OpenGL/Vulkan DXGI swapchain
This commit is contained in:
ns6089
2023-07-02 13:01:29 +03:00
committed by Cameron Gutman
parent 6992d424a8
commit f245f777f7
15 changed files with 1174 additions and 4 deletions

View File

@@ -17,6 +17,12 @@
#include "thread_pool.h"
#include "thread_safe.h"
#ifdef _WIN32
// Declare global singleton used for NVIDIA control panel modifications
#include "platform/windows/nvprefs/nvprefs_interface.h"
extern nvprefs::nvprefs_interface nvprefs_instance;
#endif
extern thread_pool_util::ThreadPool task_pool;
extern bool display_cursor;