[pr-fix][rendering] Request VSync when tearing is off #222
Loading…
Reference in a new issue
No description provided.
Delete branch "hingeowl/Darner:pr/vsync-when-tearing-off"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Re-submitted from the previous CodeFloe repository (original commit
b4d44f981d38fc13951dd90107e9484597e4f402, preserving original authorship by hamb) so it is not lost after the forge move.What it changes
Notes
main(f3840d7).mainhas not been run yet.Tested
98f3a84fon a real RTX 4070 Ti SUPER / D3D12 queue, driver 617.14 and Windows 11. I compiled the PR’s present_chain and present_vsync_available functions unchanged into a standalone probe. Its recorder forwards every call to the actual IDXGISwapChain3::Present and records the returned HRESULT. Two separate HWND flip-discard chains, one created with ALLOW_TEARING and one without.This confirms the actual intervals, flags and refusal fallback on hardware. No FPS or visible-tearing claim.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.