Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update veldrid with macOS CVDisplayLink support #5821

Merged
merged 2 commits into from
May 31, 2023

Conversation

peppy
Copy link
Sponsor Member

@peppy peppy commented May 31, 2023

No changes required from our end as we are already calling the relevant Renderer.WaitUntilNextFrameReady() function. Veldrid side, this is now supported on desktop metal platforms.

Closes #5803 (separate PR so we can keep that one around for potential reference – it contains iOS changes).

In the future, we can improve this further by implementing CVDisplayLink in MacOSWindow, in a very similar way to #5820. Once this is merged and all has settled, I'll open an issue to track that. The benefits would be that the timings are slightly more precise as we are not using a semaphore. Higher effort though, as we will need to figure a better solution for multi-threaded mode.

@smoogipoo smoogipoo enabled auto-merge May 31, 2023 10:29
@smoogipoo smoogipoo merged commit a198f77 into ppy:master May 31, 2023
16 checks passed
@peppy peppy deleted the veldrid-macos-cv-display-link branch June 21, 2023 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants