ArchHooks_Win32::SetupConcurrentRenderingThread
This commit is contained in:
@@ -220,6 +220,11 @@ void ArchHooks_Win32::UnBoostPriority()
|
|||||||
SetPriorityClass( GetCurrentProcess(), NORMAL_PRIORITY_CLASS );
|
SetPriorityClass( GetCurrentProcess(), NORMAL_PRIORITY_CLASS );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ArchHooks_Win32::SetupConcurrentRenderingThread()
|
||||||
|
{
|
||||||
|
SetThreadPriority( GetCurrentThread(), THREAD_PRIORITY_ABOVE_NORMAL );
|
||||||
|
}
|
||||||
|
|
||||||
static bool g_bTimerInitialized;
|
static bool g_bTimerInitialized;
|
||||||
static DWORD g_iStartTime;
|
static DWORD g_iStartTime;
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ public:
|
|||||||
|
|
||||||
void BoostPriority();
|
void BoostPriority();
|
||||||
void UnBoostPriority();
|
void UnBoostPriority();
|
||||||
|
void SetupConcurrentRenderingThread();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void CheckVideoDriver();
|
void CheckVideoDriver();
|
||||||
|
|||||||
Reference in New Issue
Block a user