Skip to content

Conversation

@DarioSamo
Copy link
Contributor

This introduces two key changes suggested by @Mr-Wiseguy.

  1. On vulkan, use mailbox when available.
  2. On D3D12, change sync interval to 0. We don't need the API to block on present calls for us because RT64 times frames on its own and also uses present wait.

As both of these changes rely on the existence of present wait to behave as intended, and to try to simplify the introduction of these changes, they're only activated if present wait is explicitly enabled for the swap chain.

I'm not aware of what possibilities we have here to introduce further changes in Metal, so the Metal changes should only just be to take the new input that is now a Desc structure similar to the rest of the code used, as the function was starting to grow pretty big.

@DarioSamo DarioSamo requested a review from Mr-Wiseguy January 3, 2026 23:20
@DarioSamo DarioSamo merged commit dea63d3 into main Jan 8, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants