mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-13 19:57:51 +00:00
video_core: Block in WaitFence.
This function is called rarely and blocks quite often for a long time. So don't waste power and let the CPU sleep. This might also increase the performance as the other cores might be allowed to clock higher.
This commit is contained in:
parent
b6825f4b37
commit
4bdaebe33e
3 changed files with 9 additions and 5 deletions
|
@ -192,7 +192,7 @@ void NVFlinger::Compose() {
|
|||
|
||||
const auto& igbp_buffer = buffer->get().igbp_buffer;
|
||||
|
||||
const auto& gpu = system.GPU();
|
||||
auto& gpu = system.GPU();
|
||||
const auto& multi_fence = buffer->get().multi_fence;
|
||||
for (u32 fence_id = 0; fence_id < multi_fence.num_fences; fence_id++) {
|
||||
const auto& fence = multi_fence.fences[fence_id];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue