On Mon Jun 1 03:40:54 2026 +0000, Marc-Aurel Zent wrote:
It is a bit more clunky with requiring to passing around mach ports (at which point IOSurfaces are equally as attractive) and also deprecated by Apple in favor of those. Both [Chromium](https://source.chromium.org/chromium/chromium/src/+/main:ui/base/cocoa/remot...) and [WebKit](https://github.com/WebKit/webkit/blob/main/Source/WebCore/PAL/pal/spi/cocoa/...) use this API over `CARemoteLayer`, so it seems to be the preferred/de-facto standard for cross-process layer hosting on macOS. OK. I'm sure you're aware of Apple's infamously strict stance towards use of "private" SPIs, but since we _already_ do that (e.g. using the underlying `__pthread_kill(2)` syscall to signal arbitrary threads), I suppose that's less of a concern.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10935#note_141805