May 20, 2026
2:34 p.m.
On Wed May 20 11:27:13 2026 +0000, Chip Davis wrote:
Why not use the public `CARemoteLayer` API? 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. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10935#note_140816