rsx: Separate guest flip timer from host timing operations

This commit is contained in:
kd-11 2022-04-13 22:29:26 +03:00 committed by kd-11
parent 89de1a8cf6
commit 57aee92bfe
4 changed files with 11 additions and 10 deletions

View file

@ -640,7 +640,7 @@ namespace rsx
fifo_ctrl = std::make_unique<::rsx::FIFO::FIFO_control>(this);
last_flip_time = rsx::uclock() - 1000000;
last_guest_flip_timestamp = rsx::uclock() - 1000000;
vblank_count = 0;
@ -2487,6 +2487,8 @@ namespace rsx
{
performance_counters.sampled_frames++;
}
last_host_flip_timestamp = rsx::uclock();
}
void thread::check_zcull_status(bool framebuffer_swap)
@ -3162,7 +3164,7 @@ namespace rsx
flip(m_queued_flip);
last_flip_time = rsx::uclock() - 1000000;
last_guest_flip_timestamp = rsx::uclock() - 1000000;
flip_status = CELL_GCM_DISPLAY_FLIP_STATUS_DONE;
m_queued_flip.in_progress = false;