-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vkd3d: Implement frame rate limiter.
Follows the same logic as DXVK. Instead of delaying presentation, we instead delay signaling of the frame latency event for hopefully consistent frame pacing on the app side. DXGI will call SetTargetFrameRate with a negative value when running in fullscreen mode with a fixed refresh rate and Vsync enabled. The intent is to only engage the frame rate limiter if the actual display refresh rate does not match the display mode that the app is running at. Signed-off-by: Philip Rebohle <[email protected]>
- Loading branch information
1 parent
68556ca
commit 80f6c46
Showing
1 changed file
with
260 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters