Skip to content

macOS: Replace deprecated CVDisplayLink calls in main and apple subproject - #1288

Merged
SaschaWillems merged 3 commits into
SaschaWillems:masterfrom
SRSaunders:apple-deprecations-fixes
Aug 28, 2026
Merged

SaschaWillems merged 3 commits into
SaschaWillems:masterfrom
SRSaunders:apple-deprecations-fixes

Conversation

@SRSaunders

@SRSaunders SRSaunders commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #1287.

This PR does the following:

  1. Updates the main project's vulkanexamplebase to replace deprecated CVDisplayLink calls with CAMetalDisplayLink instead. This means the main project will compile and work on macOS 14 (Sonoma) and later. Sonoma is currently the oldest supported version of macOS (but will likely become unsupported this fall 2026).
  2. Updates the apple subproject for macOS to replace deprecated CVDisplayLink calls with CADisplayLink instead. Again, This means the apple subproject will compile and work on macOS 14 (Sonoma) and later. The iOS portion of the subproject has already been using CADisplayLink for some time so that portion does not change.
  3. Updates the apple subproject to replace the deprecated setFrameInterval function with setPreferredFrameRateRange
  4. Updates the apple subproject for macOS to implement the viewDidAppear entry point to mirror the iOS code.
  5. Updates the apple subproject to include dynamicrenderinglocalread and descriptorheapuntyped in examples.h

Tested on macOS Sequoia 15.7.9 on x86_64, a real iPhone 16 (iOS 26.6), and the iOS Simulator on x86_64 (iOS 26.2).

Tested on macOS 26.6 on Apple Silicon (M1 Air) with both MoltenVK and KosmicKrisp drivers (SDK 1.4.357).

@SaschaWillems

Copy link
Copy Markdown
Owner

Thanks for this contribution. Very much appreciated 👍🏻

@SaschaWillems
SaschaWillems merged commit e56bc4f into SaschaWillems:master Aug 28, 2026
3 checks passed
@SRSaunders

Copy link
Copy Markdown
Contributor Author

Happy to help out.

@SRSaunders
SRSaunders deleted the apple-deprecations-fixes branch August 31, 2026 15:24
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.

CVDisplayLink deprecated in macOS 15 Sequoia and later

2 participants