[d3d9] D3D9Ex FlipEx presentation mode support#433
Merged
elishacloud merged 6 commits intoelishacloud:masterfrom Sep 9, 2025
Merged
[d3d9] D3D9Ex FlipEx presentation mode support#433elishacloud merged 6 commits intoelishacloud:masterfrom
elishacloud merged 6 commits intoelishacloud:masterfrom
Conversation
* Removes lockable backbuffer flag if exists * Add FlipEx to AllSettings.ini
Owner
|
Thanks! I added some checks. FlipEx only works in windowed mode and only works with |
Contributor
Author
Thank you and sorry for the points I overlooked on the implementation 😅 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added the option to enable D3DSWAPEFFECT_FLIPEX when using the D3D9Ex API.
This swap effect allows the application to enter Flip Model, which helps reduce latency and even enables support for VRR in borderless mode.
Not every game works well with the conversion to D3D9Ex, but I believe it is a good option to have.
I am not very experienced in this area, so I followed the rules in this Microsoft documentation.
AntiAliasing must be disabled in FlipEx, at least 2 backbuffers are required, and the D3DPRESENTFLAG_LOCKABLE_BACKBUFFER flag cannot be used either, because in Flip Mode DWM needs to access the backbuffer.