Alexandre Julliard pushed to branch master at wine / wine
Commits: db0f16fc by Jactry Zeng at 2025-11-26T10:08:20+01:00 winemac.drv: Support to get EDID from DCPAVServiceProxy.
IOAVServiceCopyEDID() is a private API of macOS; ideally, maybe we should avoid using it. But this is the most straightforward way to get the EDID of an external monitor on Apple Silicon.
- - - - - 4cabe9d7 by Jactry Zeng at 2025-11-26T10:08:21+01:00 winemac.drv: Support to get EDID from IODisplayConnect.
IOAVServiceCopyEDID() isn't available on Intel Mac, let's try to get EDID from IODisplayConnect.
- - - - - 68753669 by Jactry Zeng at 2025-11-26T10:08:24+01:00 winemac.drv: Support to generate EDID from display parameters from Core Graphics APIs.
Neither IOAVServiceCopyEDID() nor "IODisplayEDID" is available for Apple Silicon MacBook's built-in screen, let's try to generate EDID data based on display parameters from Core Graphics APIs. This isn't perfect since some parameters are missing, but at least it satisfies some Unreal games.
- - - - -
3 changed files:
- dlls/winemac.drv/cocoa_display.m - dlls/winemac.drv/display.c - dlls/winemac.drv/macdrv_cocoa.h
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/d78d3eae9637371b1d785e8e29e81b...