darlinghq / darling

Darwin/macOS emulation layer for Linux
http://www.darlinghq.org
GNU General Public License v3.0
11.32k stars 434 forks source link

Long Term Sugestion: Implement Metal API over Vulkan #390

Open Arucard1983 opened 6 years ago

Arucard1983 commented 6 years ago

Beginning with macOS 10-14 Mojave, OpenGL and OpenCL frameworks will be deprecated, and favoured the Apple's Metal API. Even Apple don't want to support Vulkan API natively, a former proprietary library called MoltenVK translated Vulkan to Metal.

Reversing the MoltenVK logic, it is feasible to implement a Metal to Vulkan compatibility layer ? Without such support, once Darling starting to run big applications like Adobe Suite or Final Cut that use Metal, would be several underperformed, since native OpenGL support on macOS was poor and outdated.

bugaevc commented 6 years ago

Reversing the MoltenVK logic, it is feasible to implement a Metal to Vulkan compatibility layer ?

Yep, that's the plan. It'd be awesome if someone more familiar with Vulkan and Metal contributed the wrapper 😃

camr0 commented 6 years ago

Ooh. So like DXVK but for metal instead?

maddanio commented 5 years ago

that reminds me of a sec talk of some guy that ended up doing dns over http over dns. you should then try metal to vulkan to metal :)

stuaxo commented 2 years ago

It looks like Metal on Vulkan would also help people virtualise OSX on Linux on M1 Macs too, so that's another community that may be able to help work on such a project.

image