Upgrade deprecated CVDisplayLink APIs
Author: martinfouilleulCreated Jul 23, 2025Updated Jul 23, 2025
LabelsmacOS
On macOS 15+, most CVDisplayLink APIs have been deprecated, resulting in warnings like
'CVDisplayLinkStop' is deprecated: first deprecated in macOS 15.0 - use NSView.displayLink(target:selector:), NSWindow.displayLink(target:selector:), or NSScreen.displayLink(target:selector:)
CVDisplayLinkStop(ocWindow->displayLink);
Since we turn warnings into errors to make zig build surface them, it breaks the build. #135 works around this by disabling the deprecated warning around these APIs, but we should look into what the upgrade path is for these APIs.
Source: orca-app/orca