mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
VideoCommon: implement swap requests in the full async way
This commit is contained in:
parent
bc248f8941
commit
ad7264da7d
6 changed files with 42 additions and 51 deletions
|
@ -284,6 +284,7 @@ void RunGpuLoop()
|
|||
bool yield_cpu = cpu_info.num_cores <= 2;
|
||||
|
||||
AsyncRequests::GetInstance()->SetEnable(true);
|
||||
AsyncRequests::GetInstance()->SetPassthrough(false);
|
||||
|
||||
while (GpuRunningState)
|
||||
{
|
||||
|
@ -383,6 +384,7 @@ void RunGpuLoop()
|
|||
// wake up SyncGPU if we were interrupted
|
||||
s_video_buffer_cond.notify_all();
|
||||
AsyncRequests::GetInstance()->SetEnable(false);
|
||||
AsyncRequests::GetInstance()->SetPassthrough(true);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue