Closed BramTeurlings closed 8 months ago
Subtask of parent task GB-190
712020:c26664a4-c3de-4473-a0b4-5a76804d5628:
Added new latency switch and cleaned code.
712020:f91dd24e-5296-4a9d-90d9-b287c639e252:
Reviewed and looks nice
712020:f91dd24e-5296-4a9d-90d9-b287c639e252:
Works in games, latency switches nicely
[Epic: srReshade addon]
I found out that we can get the amount of buffers in the swap_chain from ReShade.
The default latency value set by the SR SDK for the predictingEyeTracker is 40000 microseconds.
The call to get the amount of back buffers is:
``weaver->setLatencyInFrames(runtime->get_back_buffer_count() ? runtime->get_back_buffer_count() : 1); // Set the latency with which the weaver should do prediction.``
Originally reported by , imported from: Implement new latency implementation